Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.96/4.96, allocations: 0.5623 GB / 0.5776 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002554/0.002554, allocations: 359.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.96/4.96, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001813, allocations: 185.9 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005019, allocations: 11.98 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7377, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008253/0.746, allocations: 5.957 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.7519, allocations: 2.884 MB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.7527, allocations: 23.81 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.7532, allocations: 111.1 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.7548, allocations: 446.2 kB / 1.471 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.7563, allocations: 315.5 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.7584, allocations: 1.329 MB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.7608, allocations: 0.9204 MB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008947/0.7617, allocations: 379.1 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000918/0.7627, allocations: 483.7 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.7629, allocations: 36 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.7636, allocations: 192.9 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003354/0.764, allocations: 263.2 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.7642, allocations: 181.3 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.7655, allocations: 0.9026 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7655, allocations: 0 / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7655, allocations: 6.688 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.7656, allocations: 0 / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002406/0.768, allocations: 1.006 MB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.7681, allocations: 12.5 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.7706, allocations: 249.5 kB / 1.477 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.7719, allocations: 0.5326 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.885e-05/0.7719, allocations: 45.31 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.7721, allocations: 64.86 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.7742, allocations: 1.072 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.305e-05/0.7743, allocations: 11.84 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.7744, allocations: 31.98 kB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.7747, allocations: 85.78 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.7765, allocations: 0.7478 MB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006954/0.7835, allocations: 5.901 MB / 1.485 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.785, allocations: 0.548 MB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.7857, allocations: 331.8 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.7858, allocations: 5.375 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.7858, allocations: 39.81 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/0.7858, allocations: 0 / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.005879/0.7917, allocations: 1.991 MB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.7918, allocations: 59.84 kB / 1.488 GB, free: 256.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000763/0.7925, allocations: 0.543 MB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.7926, allocations: 33.7 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002484/0.7929, allocations: 414.9 kB / 1.489 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.793, allocations: 177.5 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.7931, allocations: 18.69 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7932, allocations: 370.8 kB / 1.489 GB, free: 255 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.7938, allocations: 273.8 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007309/0.7946, allocations: 491 kB / 1.49 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.7953, allocations: 345.9 kB / 1.49 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7954, allocations: 1.406 kB / 1.49 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002725/0.7981, allocations: 1.089 MB / 1.491 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.7982, allocations: 8.844 kB / 1.491 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.7982, allocations: 4 kB / 1.491 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.7996, allocations: 275.5 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.8005, allocations: 124.9 kB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.8081, allocations: 6.596 MB / 1.498 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009909/0.8091, allocations: 43.95 kB / 1.498 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.8092, allocations: 28.78 kB / 1.498 GB, free: 245.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004529/0.8097, allocations: 259.2 kB / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.8098, allocations: 71.16 kB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.8121, allocations: 0.8831 MB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.8122, allocations: 3.984 kB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8122, allocations: 0 / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.8126, allocations: 193.2 kB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.8127, allocations: 8 kB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.8134, allocations: 27.97 kB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8135, allocations: 46.62 kB / 1.5 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003096/0.8166, allocations: 0.9686 MB / 1.501 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001936/0.8186, allocations: 1.031 MB / 1.502 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005357/0.8192, allocations: 259.3 kB / 1.502 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005531/0.8197, allocations: 380.2 kB / 1.502 GB, free: 241 MB / 0.8542 GB Notification: Performance of Backend: time 6.31e-07/0.8198, allocations: 0 / 1.502 GB, free: 241 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.823, allocations: 1.215 MB / 1.504 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003691/0.8267, allocations: 2.183 MB / 1.506 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.03218/0.8589, allocations: 11.98 MB / 1.517 GB, free: 225.9 MB / 0.8542 GB