Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001444/0.001444, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.458/1.458, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.931/1.931, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001436/0.001436, allocations: 68.23 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2805, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.535/0.8155, allocations: 32.48 MB / 0.8158 GB, free: 30.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.8356, allocations: 10.37 MB / 0.8259 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.8406, allocations: 149 kB / 0.8261 GB, free: 23.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01078/0.8515, allocations: 3.716 MB / 0.8297 GB, free: 21.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008644/0.8601, allocations: 1.854 MB / 0.8315 GB, free: 20.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008301/0.8685, allocations: 2.128 MB / 0.8336 GB, free: 19.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.8824, allocations: 7.327 MB / 0.8407 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02132/0.9038, allocations: 9.479 MB / 0.85 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009365/0.9132, allocations: 3.179 MB / 0.8531 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008773/0.922, allocations: 3.48 MB / 0.8565 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004088/0.9262, allocations: 0.6457 MB / 0.8571 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008655/0.9349, allocations: 1.774 MB / 0.8589 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006323/0.9412, allocations: 2.542 MB / 0.8614 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009783/0.951, allocations: 2.899 MB / 0.8642 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.9687, allocations: 10.1 MB / 0.874 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.9688, allocations: 1.375 kB / 0.8741 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9688, allocations: 4 kB / 0.8741 GB, free: 14.21 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004691/0.9693, allocations: 0 / 0.8741 GB, free: 14.21 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02029/0.9896, allocations: 5.004 MB / 0.8789 GB, free: 9.766 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.9897, allocations: 8.031 kB / 0.8789 GB, free: 9.758 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00742/0.9971, allocations: 0.9629 MB / 0.8799 GB, free: 8.789 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00763/1.005, allocations: 2.847 MB / 0.8827 GB, free: 5.883 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004416/1.005, allocations: 349.7 kB / 0.883 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/1.008, allocations: 468.1 kB / 0.8835 GB, free: 5.078 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/1.03, allocations: 7.667 MB / 0.8909 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003065/1.03, allocations: 27.7 kB / 0.891 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/1.033, allocations: 204 kB / 0.8912 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004564/1.033, allocations: 313 kB / 0.8915 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/1.047, allocations: 5.714 MB / 0.897 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/1.096, allocations: 34.82 MB / 0.931 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/1.099, allocations: 2.154 MB / 0.9331 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/1.101, allocations: 1.268 MB / 0.9344 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/1.101, allocations: 21.16 kB / 0.9344 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.101, allocations: 47.88 kB / 0.9345 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/1.101, allocations: 0 / 0.9345 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01716/1.118, allocations: 7.084 MB / 0.9414 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/1.118, allocations: 64.72 kB / 0.9414 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/1.121, allocations: 1.488 MB / 0.9429 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.122, allocations: 49.7 kB / 0.9429 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.123, allocations: 2.008 MB / 0.9449 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004847/1.124, allocations: 485.1 kB / 0.9454 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005984/1.124, allocations: 351.1 kB / 0.9457 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.124, allocations: 305.1 kB / 0.946 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/1.126, allocations: 0.9174 MB / 0.9469 GB, free: 44 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/1.128, allocations: 1.593 MB / 0.9484 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.132, allocations: 2.741 MB / 0.9511 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/1.132, allocations: 4 kB / 0.9511 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006541/1.138, allocations: 3.523 MB / 0.9546 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/1.138, allocations: 16.78 kB / 0.9546 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.933e-05/1.138, allocations: 27.94 kB / 0.9546 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00268/1.141, allocations: 0.9077 MB / 0.9555 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.142, allocations: 343.4 kB / 0.9558 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.165, allocations: 23.1 MB / 0.9784 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.167, allocations: 108 kB / 0.9785 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000409/1.167, allocations: 80 kB / 0.9785 GB, free: 13.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003692/1.171, allocations: 1.613 MB / 0.9801 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006305/1.172, allocations: 205.5 kB / 0.9803 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/1.178, allocations: 2.994 MB / 0.9832 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.178, allocations: 12 kB / 0.9833 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.571e-05/1.178, allocations: 12 kB / 0.9833 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/1.178, allocations: 7.969 kB / 0.9833 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.197, allocations: 7.34 MB / 0.9904 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/1.197, allocations: 4 kB / 0.9904 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/1.198, allocations: 175.7 kB / 0.9906 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/1.201, allocations: 0.8223 MB / 0.9914 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/1.201, allocations: 28 kB / 0.9914 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/1.222, allocations: 21.94 MB / 1.013 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/1.222, allocations: 15.88 kB / 1.013 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006244/1.229, allocations: 3.027 MB / 1.016 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.23, allocations: 458.5 kB / 1.016 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006374/1.231, allocations: 35.88 kB / 1.016 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.232, allocations: 67.91 kB / 1.016 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/1.233, allocations: 132.7 kB / 1.016 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.233, allocations: 36 kB / 1.017 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001903/1.235, allocations: 0.9717 MB / 1.017 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.31e-07/1.235, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004309/1.239, allocations: 0.793 MB / 1.018 GB, free: 2.379 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003633/1.239, allocations: 149.1 kB / 1.018 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006394/1.246, allocations: 4.024 MB / 1.022 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.246, allocations: 3.938 kB / 1.022 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003913/1.25, allocations: 2.733 MB / 1.025 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/1.254, allocations: 0.7255 MB / 1.026 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.271, allocations: 7.117 MB / 1.033 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005773/1.276, allocations: 3.101 MB / 1.036 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001635/1.278, allocations: 454 kB / 1.036 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/1.279, allocations: 119.4 kB / 1.036 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/1.279, allocations: 0 / 1.036 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.07076/1.349, allocations: 35.72 MB / 1.071 GB, free: 12.29 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)