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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001481, allocations: 104.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 242.1 MB, free: 15.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 195.7 kB / 294.4 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.07811/0.07811, allocations: 8.785 MB / 355.3 MB, free: 15.94 MB / 302.1 MB " [Timeout remaining time 180] 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=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 83.88 kB / 472.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3141, allocations: 51.56 MB / 0.5119 GB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001843/0.316, allocations: 0.4907 MB / 0.5124 GB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.3162, allocations: 18.44 kB / 0.5124 GB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.3162, allocations: 1.469 kB / 0.5124 GB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.3162, allocations: 3.938 kB / 0.5124 GB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.3163, allocations: 4 kB / 0.5124 GB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.3164, allocations: 5.422 kB / 0.5124 GB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.3165, allocations: 13.19 kB / 0.5124 GB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.3166, allocations: 5.375 kB / 0.5124 GB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.3166, allocations: 9.234 kB / 0.5124 GB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3167, allocations: 6.656 kB / 0.5124 GB, free: 12.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3167, allocations: 0 / 0.5124 GB, free: 12.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.3167, allocations: 1.094 kB / 0.5124 GB, free: 12.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.3167, allocations: 3.984 kB / 0.5124 GB, free: 12.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.3168, allocations: 6.25 kB / 0.5124 GB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.506e-05/0.3168, allocations: 14.33 kB / 0.5124 GB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3168, allocations: 0 / 0.5124 GB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3168, allocations: 0 / 0.5124 GB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3169, allocations: 0 / 0.5124 GB, free: 12.15 MB / 334.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.0004543/0.3173, allocations: 330.3 kB / 0.5128 GB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3174, allocations: 9.125 kB / 0.5128 GB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.3174, allocations: 2.094 kB / 0.5128 GB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3176, allocations: 166.6 kB / 0.5129 GB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.3176, allocations: 384 / 0.5129 GB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3177, allocations: 6.688 kB / 0.5129 GB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.667e-05/0.3178, allocations: 37.75 kB / 0.513 GB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3178, allocations: 1.312 kB / 0.513 GB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3178, allocations: 3.938 kB / 0.513 GB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3178, allocations: 3.938 kB / 0.513 GB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.637e-05/0.3178, allocations: 9.188 kB / 0.513 GB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.3181, allocations: 154 kB / 0.5131 GB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.3181, allocations: 35.52 kB / 0.5132 GB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.3182, allocations: 18.86 kB / 0.5132 GB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.3182, allocations: 3.984 kB / 0.5132 GB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3182, allocations: 30.56 kB / 0.5132 GB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3182, allocations: 5.219 kB / 0.5132 GB, free: 11.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001715/0.3184, allocations: 50.56 kB / 0.5133 GB, free: 11.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3185, allocations: 51.41 kB / 0.5133 GB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.3186, allocations: 98 kB / 0.5134 GB, free: 11.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3186, allocations: 33.7 kB / 0.5135 GB, free: 11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.3186, allocations: 81.39 kB / 0.5135 GB, free: 10.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3187, allocations: 9.219 kB / 0.5135 GB, free: 10.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.3187, allocations: 17.41 kB / 0.5136 GB, free: 10.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3189, allocations: 316.1 kB / 0.5139 GB, free: 10.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.3189, allocations: 6.688 kB / 0.5139 GB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.3189, allocations: 3.719 kB / 0.5139 GB, free: 10.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.293e-05/0.319, allocations: 29.22 kB / 0.5139 GB, free: 10.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.319, allocations: 4 kB / 0.5139 GB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.912e-05/0.319, allocations: 42.23 kB / 0.5139 GB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3191, allocations: 5.844 kB / 0.5139 GB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3191, allocations: 7.875 kB / 0.5139 GB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3191, allocations: 0 / 0.5139 GB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.3192, allocations: 11.98 kB / 0.514 GB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3193, allocations: 0 / 0.514 GB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.497e-05/0.3193, allocations: 1.094 kB / 0.514 GB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3193, allocations: 1.156 kB / 0.514 GB, free: 10.5 MB / 334.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 8.346e-05/0.3194, allocations: 122.8 kB / 0.5141 GB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.3194, allocations: 1.125 kB / 0.5141 GB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.3194, allocations: 12.75 kB / 0.5141 GB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3194, allocations: 0 / 0.5141 GB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3194, allocations: 1.094 kB / 0.5141 GB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3195, allocations: 3.984 kB / 0.5141 GB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3196, allocations: 154 kB / 0.5142 GB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3196, allocations: 1.406 kB / 0.5142 GB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.3197, allocations: 10.11 kB / 0.5143 GB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3197, allocations: 1.062 kB / 0.5143 GB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3197, allocations: 3.938 kB / 0.5143 GB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3197, allocations: 9.094 kB / 0.5143 GB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3197, allocations: 0 / 0.5143 GB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.3198, allocations: 77.72 kB / 0.5143 GB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3199, allocations: 78.14 kB / 0.5144 GB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3199, allocations: 8.984 kB / 0.5144 GB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.3199, allocations: 5.312 kB / 0.5144 GB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.32, allocations: 0.9844 kB / 0.5144 GB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.32, allocations: 13.14 kB / 0.5144 GB, free: 9.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.172e-05/0.32, allocations: 77.47 kB / 0.5145 GB, free: 9.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.32, allocations: 0 / 0.5145 GB, free: 9.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001767/0.3202, allocations: 2.25 kB / 0.5145 GB, free: 9.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 9.988e-05/0.3203, allocations: 92.31 kB / 0.5146 GB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.3204, allocations: 18.33 kB / 0.5146 GB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3204, allocations: 1.031 kB / 0.5146 GB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.3204, allocations: 5.594 kB / 0.5146 GB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.3206, allocations: 15.78 kB / 0.5146 GB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.3209, allocations: 110.6 kB / 0.5148 GB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3212, allocations: 0.6809 MB / 0.5154 GB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.3212, allocations: 1.188 kB / 0.5154 GB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.3212, allocations: 8.5 kB / 0.5154 GB, free: 8.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3212, allocations: 0 / 0.5154 GB, free: 8.93 MB / 334.1 MB Notification: Performance of Templates: time 0.002492/0.3237, allocations: 252.1 kB / 0.5157 GB, free: 8.797 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.876383938826621]