Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.006012/0.006012, allocations: 105 kB / 15.74 MB, free: 6.445 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.001487/0.001487, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 294.5 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 104.1 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3827/0.5525, allocations: 30.74 MB / 0.7959 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.5773, allocations: 13.58 MB / 0.8092 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0049/0.5823, allocations: 142.4 kB / 0.8093 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009406/0.5918, allocations: 3.195 MB / 0.8125 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.6018, allocations: 2.665 MB / 0.8151 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00602/0.6078, allocations: 2.017 MB / 0.817 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.6192, allocations: 7.634 MB / 0.8245 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.6325, allocations: 8.229 MB / 0.8325 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007699/0.6402, allocations: 3.465 MB / 0.8359 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008514/0.6488, allocations: 3.389 MB / 0.8392 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003114/0.6519, allocations: 0.5982 MB / 0.8398 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006636/0.6586, allocations: 1.493 MB / 0.8413 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00484/0.6635, allocations: 2.368 MB / 0.8436 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007928/0.6714, allocations: 2.876 MB / 0.8464 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.6852, allocations: 9.462 MB / 0.8556 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6852, allocations: 0 / 0.8556 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6852, allocations: 0 / 0.8556 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002925/0.6855, allocations: 0 / 0.8556 GB, free: 8.168 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01259/0.6981, allocations: 5.144 MB / 0.8607 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6982, allocations: 8.031 kB / 0.8607 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001601/0.6998, allocations: 0.6203 MB / 0.8613 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006235/0.706, allocations: 0.9864 MB / 0.8622 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007527/0.7136, allocations: 3.083 MB / 0.8652 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.7139, allocations: 320.8 kB / 0.8655 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.7152, allocations: 419.8 kB / 0.8659 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.729, allocations: 6.788 MB / 0.8726 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.7292, allocations: 23.77 kB / 0.8726 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009239/0.7301, allocations: 188 kB / 0.8728 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008822/0.731, allocations: 376 kB / 0.8731 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009868/0.7409, allocations: 5.11 MB / 0.8781 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03764/0.7786, allocations: 30.51 MB / 0.9079 GB, free: 15.35 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.7806, allocations: 1.391 MB / 0.9093 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/0.7823, allocations: 1.324 MB / 0.9106 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7825, allocations: 21.19 kB / 0.9106 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.7825, allocations: 51.88 kB / 0.9106 GB, free: 12.55 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.396e-06/0.7825, allocations: 0 / 0.9106 GB, free: 12.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08794/0.8705, allocations: 23.08 MB / 0.9332 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.8706, allocations: 77.39 kB / 0.9333 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003691/0.8743, allocations: 2.062 MB / 0.9353 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002954/0.8746, allocations: 57.7 kB / 0.9353 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.876, allocations: 2.01 MB / 0.9373 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008401/0.8769, allocations: 0.6777 MB / 0.9379 GB, free: 408 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.8779, allocations: 408.3 kB / 0.9383 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.878, allocations: 305.1 kB / 0.9386 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/0.8802, allocations: 1.433 MB / 0.94 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.8828, allocations: 2.013 MB / 0.942 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004712/0.8875, allocations: 3.696 MB / 0.9456 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.8875, allocations: 8 kB / 0.9456 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0113/0.8988, allocations: 5.661 MB / 0.9511 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.8989, allocations: 12 kB / 0.9511 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.8989, allocations: 20 kB / 0.9512 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00699/0.9059, allocations: 2.084 MB / 0.9532 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.9077, allocations: 375.4 kB / 0.9536 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04183/0.9495, allocations: 38.43 MB / 0.9911 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.9521, allocations: 136 kB / 0.9912 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.9526, allocations: 84 kB / 0.9913 GB, free: 6.605 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.002889/0.9555, allocations: 1.512 MB / 0.9928 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007108/0.9562, allocations: 280.7 kB / 0.993 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.967, allocations: 5.219 MB / 0.9981 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/0.9671, allocations: 20 kB / 0.9982 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.24e-05/0.9672, allocations: 19.94 kB / 0.9982 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.9672, allocations: 11.95 kB / 0.9982 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/0.9865, allocations: 9.681 MB / 1.008 GB, free: 5.574 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.9866, allocations: 8 kB / 1.008 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/0.9876, allocations: 215.6 kB / 1.008 GB, free: 5.355 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/0.9936, allocations: 1.838 MB / 1.01 GB, free: 3.461 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.9938, allocations: 44 kB / 1.01 GB, free: 3.418 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03673/1.031, allocations: 37.43 MB / 1.046 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.031, allocations: 15.92 kB / 1.046 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009291/1.04, allocations: 4.916 MB / 1.051 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.042, allocations: 0.6147 MB / 1.052 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006006/1.042, allocations: 48.06 kB / 1.052 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.044, allocations: 135.8 kB / 1.052 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/1.045, allocations: 185.6 kB / 1.052 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.045, allocations: 63.98 kB / 1.052 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002051/1.047, allocations: 1.374 MB / 1.053 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/1.047, allocations: 0 / 1.053 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003362/1.05, allocations: 1.051 MB / 1.054 GB, free: 2.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008974/1.059, allocations: 5.535 MB / 1.06 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009859/1.069, allocations: 6.28 MB / 1.066 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.069, allocations: 12.25 kB / 1.066 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006743/1.076, allocations: 4.386 MB / 1.07 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00548/1.081, allocations: 0.9931 MB / 1.071 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.383/1.464, allocations: 30.65 MB / 1.101 GB, free: 259.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/1.468, allocations: 3.121 MB / 1.104 GB, free: 258.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001763/1.469, allocations: 0.524 MB / 1.105 GB, free: 258.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.471, allocations: 1.671 MB / 1.106 GB, free: 256.9 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/1.471, allocations: 0 / 1.106 GB, free: 256.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2147/1.685, allocations: 89.59 MB / 1.194 GB, free: 202.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/19.33, allocations: 0.875 kB / 1.194 GB, free: 202.1 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)