Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.488/1.488, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.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.712/1.712, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001442/0.001442, allocations: 68.69 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01805/0.2934, allocations: 14.66 MB / 0.798 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.3104, allocations: 10.44 MB / 0.8082 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.3126, allocations: 51.69 kB / 0.8082 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004861/0.3175, allocations: 1.691 MB / 0.8099 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.3245, allocations: 1.814 MB / 0.8116 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3271, allocations: 0.759 MB / 0.8124 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.3318, allocations: 2.746 MB / 0.8151 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.334, allocations: 1.419 MB / 0.8164 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002882/0.3369, allocations: 1.492 MB / 0.8179 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.3393, allocations: 1.164 MB / 0.819 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.3396, allocations: 160 kB / 0.8192 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.3415, allocations: 0.7916 MB / 0.82 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.3421, allocations: 0.6115 MB / 0.8206 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.3432, allocations: 0.9561 MB / 0.8215 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.3468, allocations: 2.765 MB / 0.8242 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.3469, allocations: 4 kB / 0.8242 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.897e-06/0.3469, allocations: 0 / 0.8242 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.201e-05/0.347, allocations: 0 / 0.8242 GB, free: 3.539 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00466/0.3516, allocations: 2.174 MB / 0.8263 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.3517, allocations: 8.031 kB / 0.8263 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.352, allocations: 190.4 kB / 0.8265 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.3633, allocations: 2.109 MB / 0.8286 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.3666, allocations: 1.303 MB / 0.8298 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/0.3667, allocations: 90.62 kB / 0.8299 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.3671, allocations: 123.8 kB / 0.83 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.3735, allocations: 2.667 MB / 0.8326 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.3735, allocations: 7.938 kB / 0.8327 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.3737, allocations: 47.98 kB / 0.8327 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006712/0.3744, allocations: 194.1 kB / 0.8329 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007645/0.382, allocations: 2.795 MB / 0.8356 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01786/0.3999, allocations: 10.47 MB / 0.8458 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006572/0.4066, allocations: 2.336 MB / 0.8481 GB, free: 10.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.4097, allocations: 1.28 MB / 0.8494 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-05/0.4098, allocations: 9 kB / 0.8494 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4098, allocations: 51.48 kB / 0.8494 GB, free: 8.789 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.4098, allocations: 0 / 0.8494 GB, free: 8.789 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05834/0.4682, allocations: 16.47 MB / 0.8655 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.4683, allocations: 72.66 kB / 0.8656 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.4701, allocations: 1.176 MB / 0.8667 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003336/0.4705, allocations: 53.7 kB / 0.8668 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.471, allocations: 0.7436 MB / 0.8675 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.4716, allocations: 0.5159 MB / 0.868 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/0.4722, allocations: 287.4 kB / 0.8683 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4723, allocations: 309.1 kB / 0.8686 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.4759, allocations: 1.51 MB / 0.8701 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/0.4797, allocations: 1.78 MB / 0.8718 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/0.4872, allocations: 3.365 MB / 0.8751 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4873, allocations: 4 kB / 0.8751 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01403/0.5013, allocations: 5.269 MB / 0.8802 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.5014, allocations: 8 kB / 0.8802 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/0.5015, allocations: 20.05 kB / 0.8803 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007075/0.5085, allocations: 1.881 MB / 0.8821 GB, free: 6.875 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.5106, allocations: 419.3 kB / 0.8825 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03154/0.5422, allocations: 24.13 MB / 0.9061 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/0.5455, allocations: 311.6 kB / 0.9064 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/0.5461, allocations: 67.91 kB / 0.9064 GB, free: 12.84 MB / 0.7325 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.5474, allocations: 470.1 kB / 0.9069 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007737/0.5482, allocations: 173.9 kB / 0.907 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/0.563, allocations: 5.316 MB / 0.9122 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/0.563, allocations: 20 kB / 0.9122 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.244e-05/0.5631, allocations: 16 kB / 0.9123 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.958e-05/0.5632, allocations: 3.984 kB / 0.9123 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5047/1.068, allocations: 7.438 MB / 0.9195 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.068, allocations: 2.812 kB / 0.9195 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/1.07, allocations: 351.6 kB / 0.9199 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006297/1.076, allocations: 1.706 MB / 0.9215 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002496/1.077, allocations: 48.86 kB / 0.9216 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02569/1.102, allocations: 23.29 MB / 0.9443 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.102, allocations: 3.094 kB / 0.9443 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.116, allocations: 4.896 MB / 0.9491 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009923/1.117, allocations: 494.9 kB / 0.9496 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/1.117, allocations: 25.83 kB / 0.9496 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.12, allocations: 322.9 kB / 0.9499 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006305/1.12, allocations: 149.9 kB / 0.9501 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.12, allocations: 53.88 kB / 0.9501 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001306/1.122, allocations: 0.7904 MB / 0.9509 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.122, allocations: 3.125 kB / 0.9509 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002547/1.124, allocations: 0.6549 MB / 0.9515 GB, free: 110 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/1.137, allocations: 5.479 MB / 0.9569 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.148, allocations: 5.144 MB / 0.9619 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.148, allocations: 4 kB / 0.9619 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006847/1.155, allocations: 3.349 MB / 0.9652 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/1.158, allocations: 0.5621 MB / 0.9657 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05364/1.212, allocations: 21.85 MB / 0.9871 GB, free: 87.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/1.214, allocations: 1.568 MB / 0.9886 GB, free: 86.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002269/1.216, allocations: 379.4 kB / 0.989 GB, free: 85.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.217, allocations: 0.6632 MB / 0.9896 GB, free: 85.29 MB / 0.7325 GB Notification: Performance of SimCode: time 1.242e-06/1.217, allocations: 0 / 0.9896 GB, free: 85.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.321, allocations: 58.38 MB / 1.047 GB, free: 27.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.9/20.22, allocations: 17.16 kB / 1.047 GB, free: 27.66 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)