Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 116.9 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 189.2 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2149, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.378/0.5929, allocations: 10.02 MB / 0.7946 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.5973, allocations: 3.088 MB / 0.7976 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.5978, allocations: 38.59 kB / 0.7976 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5993, allocations: 0.6743 MB / 0.7983 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.6006, allocations: 0.6895 MB / 0.799 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.6018, allocations: 0.6345 MB / 0.7996 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6043, allocations: 2.735 MB / 0.8023 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.6072, allocations: 2.558 MB / 0.8048 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.6091, allocations: 1.131 MB / 0.8059 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.6112, allocations: 1.381 MB / 0.8072 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.6116, allocations: 220 kB / 0.8074 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.6127, allocations: 489 kB / 0.8079 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.6143, allocations: 0.9797 MB / 0.8088 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.6164, allocations: 1.01 MB / 0.8098 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.622, allocations: 3.419 MB / 0.8132 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.622, allocations: 1.188 kB / 0.8132 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.622, allocations: 0 / 0.8132 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.958e-05/0.6221, allocations: 0.5156 kB / 0.8132 GB, free: 37.09 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004448/0.6266, allocations: 1.938 MB / 0.8151 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6266, allocations: 13.5 kB / 0.8151 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.6325, allocations: 0.881 MB / 0.8159 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.6347, allocations: 1.163 MB / 0.8171 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.779e-05/0.6348, allocations: 110.8 kB / 0.8172 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.6351, allocations: 147.6 kB / 0.8173 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005265/0.6403, allocations: 3.021 MB / 0.8203 GB, free: 33.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.6404, allocations: 6.188 kB / 0.8203 GB, free: 33.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.6406, allocations: 63.06 kB / 0.8203 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00027/0.6409, allocations: 177.8 kB / 0.8205 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004641/0.6455, allocations: 2.609 MB / 0.823 GB, free: 32.91 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.6614, allocations: 13.49 MB / 0.8362 GB, free: 23.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.6635, allocations: 1.296 MB / 0.8375 GB, free: 22.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.665, allocations: 1.053 MB / 0.8385 GB, free: 22.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.198e-05/0.6651, allocations: 8.375 kB / 0.8385 GB, free: 22.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.6651, allocations: 46.89 kB / 0.8386 GB, free: 22.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.314e-06/0.6651, allocations: 0 / 0.8386 GB, free: 22.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.07569/0.7408, allocations: 19.38 MB / 0.8575 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.7409, allocations: 65.97 kB / 0.8576 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.7422, allocations: 0.9219 MB / 0.8585 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.7424, allocations: 45.83 kB / 0.8585 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.7428, allocations: 0.7308 MB / 0.8592 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.7432, allocations: 488.8 kB / 0.8597 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.7437, allocations: 293.2 kB / 0.86 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.7438, allocations: 353.9 kB / 0.8603 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.7453, allocations: 1.335 MB / 0.8616 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.7469, allocations: 1.655 MB / 0.8632 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.75, allocations: 3.093 MB / 0.8662 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.75, allocations: 0.75 kB / 0.8662 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01021/0.7602, allocations: 5.641 MB / 0.8717 GB, free: 15.85 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.7603, allocations: 8 kB / 0.8718 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/0.7603, allocations: 11.94 kB / 0.8718 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008924/0.7692, allocations: 2.729 MB / 0.8744 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/0.7702, allocations: 187.7 kB / 0.8746 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03674/0.8069, allocations: 25.71 MB / 0.8997 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.8088, allocations: 95.95 kB / 0.8998 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.809, allocations: 65.86 kB / 0.8999 GB, free: 2.484 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001446/0.8104, allocations: 0.7314 MB / 0.9006 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.8107, allocations: 118.6 kB / 0.9007 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.8222, allocations: 5.389 MB / 0.906 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.8223, allocations: 16 kB / 0.906 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.8223, allocations: 19.98 kB / 0.906 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.8224, allocations: 3.984 kB / 0.906 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.8392, allocations: 8.626 MB / 0.9144 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.8393, allocations: 4 kB / 0.9144 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.8398, allocations: 119.8 kB / 0.9145 GB, free: 3.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008759/0.8486, allocations: 2.547 MB / 0.917 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.8489, allocations: 28 kB / 0.9171 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03351/0.8824, allocations: 23 MB / 0.9395 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.8824, allocations: 4 kB / 0.9395 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/0.8932, allocations: 5.135 MB / 0.9445 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.8943, allocations: 471.6 kB / 0.945 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.8946, allocations: 29.69 kB / 0.945 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/0.8956, allocations: 79.89 kB / 0.9451 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/0.8961, allocations: 125 kB / 0.9452 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.8962, allocations: 32 kB / 0.9452 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008147/0.897, allocations: 0.6434 MB / 0.9459 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.897, allocations: 0 / 0.9459 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002477/0.8995, allocations: 0.7227 MB / 0.9466 GB, free: 1.828 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.8998, allocations: 139.1 kB / 0.9467 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006792/0.9066, allocations: 4.186 MB / 0.9508 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.9066, allocations: 4 kB / 0.9508 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005038/0.9117, allocations: 2.66 MB / 0.9534 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.9131, allocations: 220.8 kB / 0.9536 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/0.9198, allocations: 4.166 MB / 0.9577 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.9214, allocations: 1.731 MB / 0.9594 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.9217, allocations: 67.42 kB / 0.9594 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.9217, allocations: 0 / 0.9594 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of Templates: time 0.06037/0.9821, allocations: 59.74 MB / 1.018 GB, free: 8.797 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)