Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="BuildingSystems_BuildingSystems_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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 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.001186/0.001186, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002223/0.002223, allocations: 282.7 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8814/0.8814, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 98.67 kB / 0.5954 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1417, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01602/0.1578, allocations: 14.76 MB / 0.6947 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1711, allocations: 10.36 MB / 0.7048 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1722, allocations: 51.69 kB / 0.7049 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.176, allocations: 1.694 MB / 0.7065 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.1799, allocations: 1.814 MB / 0.7083 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1815, allocations: 0.7601 MB / 0.709 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002874/0.1844, allocations: 2.746 MB / 0.7117 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.1859, allocations: 1.423 MB / 0.7131 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.1877, allocations: 1.496 MB / 0.7146 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1891, allocations: 1.156 MB / 0.7157 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.1893, allocations: 167.9 kB / 0.7159 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.1905, allocations: 0.7838 MB / 0.7166 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.191, allocations: 0.6037 MB / 0.7172 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/0.1918, allocations: 0.9561 MB / 0.7181 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1939, allocations: 2.737 MB / 0.7208 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1939, allocations: 0 / 0.7208 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1939, allocations: 0 / 0.7208 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.1939, allocations: 0 / 0.7208 GB, free: 6.914 MB / 0.5137 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.00326/0.1972, allocations: 2.17 MB / 0.7229 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1972, allocations: 12.03 kB / 0.723 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.1975, allocations: 198.4 kB / 0.7231 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.2088, allocations: 2.105 MB / 0.7252 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.2107, allocations: 1.217 MB / 0.7264 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.2108, allocations: 86.62 kB / 0.7265 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.211, allocations: 115.9 kB / 0.7266 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/0.2159, allocations: 2.678 MB / 0.7292 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.216, allocations: 19.78 kB / 0.7292 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.2161, allocations: 47.98 kB / 0.7293 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.2168, allocations: 194.1 kB / 0.7294 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006978/0.2238, allocations: 2.795 MB / 0.7322 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.2358, allocations: 10.5 MB / 0.7424 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006224/0.2421, allocations: 2.34 MB / 0.7447 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/0.2449, allocations: 1.272 MB / 0.746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.245, allocations: 9 kB / 0.746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.245, allocations: 51.56 kB / 0.746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.214e-06/0.245, allocations: 0 / 0.746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=153): time 0.05738/0.3024, allocations: 16.48 MB / 0.7621 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3025, allocations: 68.72 kB / 0.7622 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3038, allocations: 1.172 MB / 0.7633 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.304, allocations: 53.7 kB / 0.7634 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.3044, allocations: 0.7476 MB / 0.7641 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.3048, allocations: 0.512 MB / 0.7646 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.3053, allocations: 283.5 kB / 0.7649 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.3054, allocations: 313.1 kB / 0.7652 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/0.3087, allocations: 1.507 MB / 0.7666 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/0.3122, allocations: 1.78 MB / 0.7684 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/0.319, allocations: 3.373 MB / 0.7717 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.319, allocations: 0 / 0.7717 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.2254/0.5443, allocations: 5.271 MB / 0.7768 GB, free: 90.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5444, allocations: 9.391 kB / 0.7768 GB, free: 90.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.5444, allocations: 5.938 kB / 0.7768 GB, free: 90.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006281/0.5507, allocations: 1.898 MB / 0.7787 GB, free: 89.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.5525, allocations: 419.8 kB / 0.7791 GB, free: 89.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02427/0.5768, allocations: 24.13 MB / 0.8027 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.5792, allocations: 304.6 kB / 0.8029 GB, free: 72.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.5795, allocations: 71.2 kB / 0.803 GB, free: 72.96 MB / 0.5606 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.0008204/0.5803, allocations: 468.7 kB / 0.8035 GB, free: 72.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.5807, allocations: 177.3 kB / 0.8036 GB, free: 72.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.594, allocations: 5.327 MB / 0.8088 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.594, allocations: 14.44 kB / 0.8088 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.359e-05/0.5941, allocations: 18.56 kB / 0.8089 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.5941, allocations: 9.281 kB / 0.8089 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.6091, allocations: 7.419 MB / 0.8161 GB, free: 66.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.6092, allocations: 6.781 kB / 0.8161 GB, free: 66.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.6108, allocations: 352.9 kB / 0.8165 GB, free: 65.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005243/0.616, allocations: 1.717 MB / 0.8181 GB, free: 65.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6161, allocations: 43.75 kB / 0.8182 GB, free: 65.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/0.6364, allocations: 23.31 MB / 0.8409 GB, free: 44.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6364, allocations: 4.031 kB / 0.8409 GB, free: 44.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.6468, allocations: 4.894 MB / 0.8457 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007882/0.6476, allocations: 0.4892 MB / 0.8462 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003662/0.648, allocations: 35.94 kB / 0.8462 GB, free: 38.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/0.65, allocations: 315.5 kB / 0.8465 GB, free: 38.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004478/0.6505, allocations: 149 kB / 0.8467 GB, free: 38.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.6506, allocations: 55.91 kB / 0.8467 GB, free: 38.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000867/0.6515, allocations: 0.7899 MB / 0.8475 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.91e-07/0.6515, allocations: 0 / 0.8475 GB, free: 37.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001813/0.6533, allocations: 0.666 MB / 0.8482 GB, free: 37.02 MB / 0.5606 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.01031/0.6636, allocations: 5.471 MB / 0.8535 GB, free: 31.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009781/0.6735, allocations: 5.435 MB / 0.8588 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6735, allocations: 0 / 0.8588 GB, free: 25.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005641/0.6791, allocations: 3.36 MB / 0.8621 GB, free: 22.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.6814, allocations: 0.5697 MB / 0.8626 GB, free: 21.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/0.7195, allocations: 22.97 MB / 0.8851 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.7212, allocations: 1.567 MB / 0.8866 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001742/0.723, allocations: 390.4 kB / 0.887 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008997/0.7239, allocations: 0.6554 MB / 0.8876 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7239, allocations: 0 / 0.8876 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.123/2.847, allocations: 58.37 MB / 0.9446 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/14.9, allocations: 12.81 kB / 0.9446 GB, free: 1.887 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)