Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 192 kB / 16.14 MB, free: 6.715 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 298.4 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 92.11 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1467, allocations: 86.98 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03538/0.1821, allocations: 34.5 MB / 0.7133 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.2, allocations: 11.51 MB / 0.7245 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.203, allocations: 151.2 kB / 0.7246 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009133/0.2121, allocations: 3.968 MB / 0.7285 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.2175, allocations: 1.871 MB / 0.7303 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.2233, allocations: 2.181 MB / 0.7325 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.2354, allocations: 12.41 MB / 0.7446 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01687/0.2523, allocations: 12.33 MB / 0.7566 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.2577, allocations: 3.192 MB / 0.7597 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006496/0.2643, allocations: 4.272 MB / 0.7639 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.2661, allocations: 0.543 MB / 0.7644 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.2708, allocations: 2.129 MB / 0.7665 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003561/0.2744, allocations: 2.822 MB / 0.7693 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005063/0.2795, allocations: 3.131 MB / 0.7723 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3195/0.599, allocations: 11.82 MB / 0.7839 GB, free: 38.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5991, allocations: 1.938 kB / 0.7839 GB, free: 38.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5991, allocations: 0 / 0.7839 GB, free: 38.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005811/0.5997, allocations: 1.094 kB / 0.7839 GB, free: 38.38 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.03388/0.6335, allocations: 5.79 MB / 0.7895 GB, free: 36.31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.6336, allocations: 11.25 kB / 0.7895 GB, free: 36.31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006296/0.6399, allocations: 0.806 MB / 0.7903 GB, free: 36.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.6509, allocations: 1.061 MB / 0.7914 GB, free: 35.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/0.6628, allocations: 3.261 MB / 0.7946 GB, free: 35.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007129/0.6636, allocations: 413.2 kB / 0.7949 GB, free: 35.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/0.6686, allocations: 0.5391 MB / 0.7955 GB, free: 35.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/0.711, allocations: 9.077 MB / 0.8043 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004846/0.7115, allocations: 25.16 kB / 0.8044 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003352/0.7149, allocations: 236.2 kB / 0.8046 GB, free: 34.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005717/0.7155, allocations: 351.4 kB / 0.8049 GB, free: 34.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02389/0.7394, allocations: 6.828 MB / 0.8116 GB, free: 34.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05153/0.791, allocations: 40.11 MB / 0.8508 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.7952, allocations: 3.107 MB / 0.8538 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/0.7981, allocations: 1.971 MB / 0.8557 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.7983, allocations: 16.97 kB / 0.8557 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.7984, allocations: 56.91 kB / 0.8558 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.496e-06/0.7984, allocations: 0 / 0.8558 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02642/0.8248, allocations: 9.974 MB / 0.8655 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.8249, allocations: 72.44 kB / 0.8656 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.8276, allocations: 1.529 MB / 0.8671 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.8278, allocations: 61.53 kB / 0.8672 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.8294, allocations: 2.243 MB / 0.8693 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/0.8301, allocations: 0.6318 MB / 0.87 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007287/0.8309, allocations: 412.6 kB / 0.8704 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.831, allocations: 309 kB / 0.8707 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.8327, allocations: 1.18 MB / 0.8718 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.835, allocations: 1.882 MB / 0.8736 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004394/0.8394, allocations: 3.371 MB / 0.8769 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.316e-05/0.8395, allocations: 8 kB / 0.8769 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008109/0.8476, allocations: 4.582 MB / 0.8814 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.8477, allocations: 16 kB / 0.8814 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.8477, allocations: 20 kB / 0.8815 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003857/0.8516, allocations: 1.586 MB / 0.883 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.8529, allocations: 348.3 kB / 0.8833 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.8758, allocations: 17.02 MB / 0.9 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.8782, allocations: 115.9 kB / 0.9001 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004734/0.8787, allocations: 95.98 kB / 0.9002 GB, free: 3.73 MB / 0.6075 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004844/0.8835, allocations: 1.898 MB / 0.902 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007551/0.8843, allocations: 229.4 kB / 0.9022 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007551/0.8919, allocations: 4.09 MB / 0.9062 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.8919, allocations: 20 kB / 0.9062 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.8919, allocations: 16 kB / 0.9063 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.892, allocations: 11.95 kB / 0.9063 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01836/0.9103, allocations: 9.481 MB / 0.9155 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.9104, allocations: 4 kB / 0.9155 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008101/0.9112, allocations: 182.5 kB / 0.9157 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00347/0.9147, allocations: 1.36 MB / 0.917 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.9149, allocations: 32 kB / 0.9171 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/0.9351, allocations: 15.94 MB / 0.9326 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.9352, allocations: 7.375 kB / 0.9326 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00717/0.9423, allocations: 4.076 MB / 0.9366 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.9437, allocations: 0.5218 MB / 0.9371 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/0.9442, allocations: 43.98 kB / 0.9372 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.9454, allocations: 91.84 kB / 0.9373 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004649/0.9459, allocations: 157.4 kB / 0.9374 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.946, allocations: 48 kB / 0.9374 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001574/0.9476, allocations: 1.005 MB / 0.9384 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9476, allocations: 0 / 0.9384 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00361/0.9512, allocations: 0.9919 MB / 0.9394 GB, free: 10.92 MB / 0.6544 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006955/0.9582, allocations: 4.662 MB / 0.944 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006824/0.9651, allocations: 4.273 MB / 0.9481 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9651, allocations: 0 / 0.9481 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004287/0.9694, allocations: 2.674 MB / 0.9507 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004/0.9734, allocations: 0.7247 MB / 0.9514 GB, free: 14.58 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05806/1.031, allocations: 30.9 MB / 0.9816 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006112/1.038, allocations: 3.584 MB / 0.9851 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001686/1.039, allocations: 463.9 kB / 0.9856 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/1.042, allocations: 1.78 MB / 0.9873 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of SimCode: time 2.234e-06/1.042, allocations: 4 kB / 0.9873 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/1.148, allocations: 71.07 MB / 1.057 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/1.148, allocations: 252.9 kB / 1.057 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/4.066, allocations: 0 / 1.057 GB, free: 1.578 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)