Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001353/0.001354, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001632/0.001632, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 290.8 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9741/0.9741, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 94.19 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1497, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02122/0.171, allocations: 20.08 MB / 0.6994 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1811, allocations: 6.383 MB / 0.7056 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1829, allocations: 75.56 kB / 0.7057 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00495/0.1878, allocations: 2.111 MB / 0.7077 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.1906, allocations: 1.081 MB / 0.7088 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.1933, allocations: 1.17 MB / 0.7099 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004879/0.1982, allocations: 4.881 MB / 0.7147 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00793/0.2061, allocations: 6.763 MB / 0.7213 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2089, allocations: 2.114 MB / 0.7234 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.2116, allocations: 2.461 MB / 0.7258 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.2121, allocations: 428 kB / 0.7262 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2137, allocations: 1.003 MB / 0.7271 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.2152, allocations: 1.665 MB / 0.7288 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.2171, allocations: 1.91 MB / 0.7306 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005392/0.2225, allocations: 6.528 MB / 0.737 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2225, allocations: 0 / 0.737 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2225, allocations: 8 kB / 0.737 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.566e-05/0.2226, allocations: 0 / 0.737 GB, free: 6.094 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005844/0.2284, allocations: 3.459 MB / 0.7404 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2285, allocations: 8.031 kB / 0.7404 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005603/0.2291, allocations: 454.5 kB / 0.7408 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.2324, allocations: 0.6449 MB / 0.7415 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.2357, allocations: 1.924 MB / 0.7433 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2359, allocations: 226.3 kB / 0.7436 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/0.2364, allocations: 300 kB / 0.7438 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/0.2444, allocations: 4.89 MB / 0.7486 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.551e-05/0.2445, allocations: 15.88 kB / 0.7486 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.2448, allocations: 124 kB / 0.7488 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004196/0.2452, allocations: 229.7 kB / 0.749 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005849/0.2511, allocations: 3.754 MB / 0.7526 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2766/0.5276, allocations: 21.57 MB / 0.7737 GB, free: 81.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.5296, allocations: 1.295 MB / 0.775 GB, free: 81.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.531, allocations: 1.048 MB / 0.776 GB, free: 81.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.785e-05/0.5311, allocations: 12.84 kB / 0.776 GB, free: 81.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.5312, allocations: 48.28 kB / 0.7761 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.386e-06/0.5312, allocations: 2.969 kB / 0.7761 GB, free: 81.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02295/0.5541, allocations: 8.655 MB / 0.7845 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.5542, allocations: 66.94 kB / 0.7846 GB, free: 79.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.5557, allocations: 1.122 MB / 0.7857 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.5558, allocations: 50.27 kB / 0.7857 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007012/0.5565, allocations: 1.3 MB / 0.787 GB, free: 77.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.5569, allocations: 476.5 kB / 0.7874 GB, free: 77.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.5573, allocations: 303.4 kB / 0.7877 GB, free: 77.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.5574, allocations: 305.7 kB / 0.788 GB, free: 77.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.5585, allocations: 0.9116 MB / 0.7889 GB, free: 76.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.5598, allocations: 1.326 MB / 0.7902 GB, free: 75.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.5625, allocations: 2.421 MB / 0.7926 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5625, allocations: 2.781 kB / 0.7926 GB, free: 74.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006083/0.5686, allocations: 3.465 MB / 0.796 GB, free: 73.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.5686, allocations: 10.5 kB / 0.796 GB, free: 73.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.5686, allocations: 12.59 kB / 0.796 GB, free: 73.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.5718, allocations: 1.193 MB / 0.7971 GB, free: 72.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000948/0.5727, allocations: 258.6 kB / 0.7974 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01453/0.5873, allocations: 13.85 MB / 0.8109 GB, free: 63.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5885, allocations: 91.44 kB / 0.811 GB, free: 63.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.5887, allocations: 67.5 kB / 0.8111 GB, free: 63.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001414/0.5901, allocations: 1.113 MB / 0.8122 GB, free: 62.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.5904, allocations: 160.5 kB / 0.8123 GB, free: 62.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.5949, allocations: 3.174 MB / 0.8154 GB, free: 60.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.595, allocations: 10.19 kB / 0.8154 GB, free: 60.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.595, allocations: 12.75 kB / 0.8154 GB, free: 60.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.595, allocations: 11.91 kB / 0.8154 GB, free: 60.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/0.6033, allocations: 6.258 MB / 0.8216 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6033, allocations: 3.844 kB / 0.8216 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.6039, allocations: 148.3 kB / 0.8217 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002538/0.6064, allocations: 1.078 MB / 0.8228 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.6065, allocations: 32 kB / 0.8228 GB, free: 56.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.6186, allocations: 13.54 MB / 0.836 GB, free: 42.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6187, allocations: 5.5 kB / 0.836 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.6232, allocations: 3.154 MB / 0.8391 GB, free: 38.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/0.624, allocations: 423.1 kB / 0.8395 GB, free: 38.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.6242, allocations: 35.94 kB / 0.8395 GB, free: 38.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.6249, allocations: 83.89 kB / 0.8396 GB, free: 38.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.6252, allocations: 120.7 kB / 0.8397 GB, free: 38.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.6253, allocations: 43.98 kB / 0.8398 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007316/0.6261, allocations: 0.7593 MB / 0.8405 GB, free: 37.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6261, allocations: 0 / 0.8405 GB, free: 37.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001669/0.6277, allocations: 0.668 MB / 0.8412 GB, free: 36.84 MB / 0.5606 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00423/0.632, allocations: 3.736 MB / 0.8448 GB, free: 33.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004677/0.6367, allocations: 3.631 MB / 0.8483 GB, free: 29.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.6367, allocations: 0.75 kB / 0.8483 GB, free: 29.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.6391, allocations: 1.96 MB / 0.8503 GB, free: 27.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6411, allocations: 0.4944 MB / 0.8507 GB, free: 26.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/0.6681, allocations: 21.36 MB / 0.8716 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.6699, allocations: 2.343 MB / 0.8739 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001013/0.671, allocations: 352 kB / 0.8742 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008298/0.6718, allocations: 1.011 MB / 0.8752 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.6718, allocations: 0 / 0.8752 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.7766, allocations: 51.54 MB / 0.9256 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.7769, allocations: 262.2 kB / 0.9258 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/4.005, allocations: 0 / 0.9258 GB, free: 13.89 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)