Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 110.4 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 192.5 kB / 290.4 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0497/0.0497, allocations: 8.799 MB / 349.3 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 71.88 kB / 464.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.08032, allocations: 51.57 MB / 0.504 GB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001398/0.08175, allocations: 0.4906 MB / 0.5045 GB, free: 8.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.08188, allocations: 15.91 kB / 0.5045 GB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.08192, allocations: 0 / 0.5045 GB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.08195, allocations: 0 / 0.5045 GB, free: 8.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.08198, allocations: 7.938 kB / 0.5045 GB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.72e-05/0.08209, allocations: 4 kB / 0.5046 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.981e-05/0.08214, allocations: 11.97 kB / 0.5046 GB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.08219, allocations: 3.938 kB / 0.5046 GB, free: 8.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.08221, allocations: 4 kB / 0.5046 GB, free: 8.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.08226, allocations: 4 kB / 0.5046 GB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.08228, allocations: 8 kB / 0.5046 GB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.08229, allocations: 0 / 0.5046 GB, free: 8.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.08231, allocations: 3.938 kB / 0.5046 GB, free: 8.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.08234, allocations: 3.984 kB / 0.5046 GB, free: 8.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.426e-05/0.08238, allocations: 11.88 kB / 0.5046 GB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08239, allocations: 0 / 0.5046 GB, free: 8.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.0824, allocations: 0 / 0.5046 GB, free: 8.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.08241, allocations: 0 / 0.5046 GB, free: 8.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000312/0.08273, allocations: 333.8 kB / 0.5049 GB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.08277, allocations: 8.031 kB / 0.5049 GB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.0828, allocations: 8.938 kB / 0.5049 GB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.08291, allocations: 168.4 kB / 0.5051 GB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.08293, allocations: 4.359 kB / 0.5051 GB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.08295, allocations: 4.375 kB / 0.5051 GB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.08304, allocations: 34.27 kB / 0.5051 GB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.08305, allocations: 192 / 0.5051 GB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.08306, allocations: 3.938 kB / 0.5051 GB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.08307, allocations: 0 / 0.5051 GB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.08312, allocations: 15.92 kB / 0.5052 GB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.08326, allocations: 157.7 kB / 0.5053 GB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.08334, allocations: 30.58 kB / 0.5053 GB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.08337, allocations: 16.86 kB / 0.5054 GB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.08339, allocations: 4.078 kB / 0.5054 GB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.08341, allocations: 34.56 kB / 0.5054 GB, free: 7.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.08342, allocations: 0 / 0.5054 GB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001177/0.08354, allocations: 53.56 kB / 0.5054 GB, free: 7.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.08357, allocations: 55.41 kB / 0.5055 GB, free: 7.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.08364, allocations: 101.8 kB / 0.5056 GB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.08366, allocations: 25.7 kB / 0.5056 GB, free: 7.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.0837, allocations: 84.14 kB / 0.5057 GB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.08373, allocations: 15.73 kB / 0.5057 GB, free: 7.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.08377, allocations: 17.72 kB / 0.5057 GB, free: 7.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.194e-05/0.08386, allocations: 310.8 kB / 0.506 GB, free: 7.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.08389, allocations: 12 kB / 0.506 GB, free: 7.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.0839, allocations: 7.984 kB / 0.506 GB, free: 7.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.08394, allocations: 17.33 kB / 0.5061 GB, free: 7.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.08395, allocations: 0 / 0.5061 GB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.889e-05/0.08402, allocations: 49.62 kB / 0.5061 GB, free: 7.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.08404, allocations: 4 kB / 0.5061 GB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.08405, allocations: 4.047 kB / 0.5061 GB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.08407, allocations: 7.922 kB / 0.5061 GB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.08416, allocations: 8 kB / 0.5061 GB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.08417, allocations: 0 / 0.5061 GB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.08419, allocations: 8 kB / 0.5061 GB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.0842, allocations: 0 / 0.5061 GB, free: 7.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.08426, allocations: 109.8 kB / 0.5062 GB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.08428, allocations: 7.906 kB / 0.5062 GB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.08431, allocations: 11.42 kB / 0.5063 GB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.08431, allocations: 0 / 0.5063 GB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.08432, allocations: 0 / 0.5063 GB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.08435, allocations: 85.05 kB / 0.5063 GB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.08437, allocations: 8 kB / 0.5063 GB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.08439, allocations: 4 kB / 0.5064 GB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.08441, allocations: 0 / 0.5064 GB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001592/0.08457, allocations: 128.9 kB / 0.5065 GB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001548/0.08474, allocations: 222.8 kB / 0.5067 GB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.203e-05/0.08477, allocations: 12.02 kB / 0.5067 GB, free: 6.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.0848, allocations: 79.28 kB / 0.5068 GB, free: 6.363 MB / 350.1 MB Notification: Performance of Backend: time 3.3e-07/0.08481, allocations: 8 kB / 0.5068 GB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.0851, allocations: 84.38 kB / 0.5069 GB, free: 6.266 MB / 350.1 MB Notification: Performance of SimCode: time 0.0003543/0.08547, allocations: 0.5611 MB / 0.5074 GB, free: 5.656 MB / 350.1 MB Notification: Performance of Templates: time 0.001928/0.0874, allocations: 289 kB / 0.5077 GB, free: 5.375 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)