Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.004422/0.004422, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001476/0.001476, allocations: 186.3 kB / 16.67 MB, free: 5.957 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 287 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9364/0.9364, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002602/0.002602, allocations: 99.84 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.352, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02532/0.3773, allocations: 23.4 MB / 0.7888 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00992/0.3873, allocations: 6.488 MB / 0.7951 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.3881, allocations: 95.56 kB / 0.7952 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.3913, allocations: 1.487 MB / 0.7967 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.3941, allocations: 1.828 MB / 0.7985 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.3967, allocations: 1.458 MB / 0.7999 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006428/0.4032, allocations: 6.908 MB / 0.8066 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007523/0.4107, allocations: 6.933 MB / 0.8134 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.4141, allocations: 2.839 MB / 0.8162 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004464/0.4185, allocations: 3.478 MB / 0.8196 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006945/0.4192, allocations: 0.5273 MB / 0.8201 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.4213, allocations: 1.178 MB / 0.8212 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.4237, allocations: 2.46 MB / 0.8236 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.4262, allocations: 2.532 MB / 0.8261 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009894/0.4361, allocations: 8.54 MB / 0.8344 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.4362, allocations: 0 / 0.8344 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4362, allocations: 11.88 kB / 0.8345 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001775/0.4364, allocations: 0 / 0.8345 GB, free: 13.39 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007702/0.4441, allocations: 4.547 MB / 0.8389 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.4441, allocations: 8.031 kB / 0.8389 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007269/0.4449, allocations: 0.5753 MB / 0.8395 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.4526, allocations: 1.695 MB / 0.8411 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.4573, allocations: 2.713 MB / 0.8438 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.4575, allocations: 283.7 kB / 0.844 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006652/0.4582, allocations: 364.3 kB / 0.8444 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.4708, allocations: 7.483 MB / 0.8517 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.829e-05/0.471, allocations: 15.83 kB / 0.8517 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/0.4714, allocations: 159.9 kB / 0.8519 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005767/0.472, allocations: 487.3 kB / 0.8523 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/0.4811, allocations: 5.697 MB / 0.8579 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03601/0.5171, allocations: 31.55 MB / 0.8887 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.5202, allocations: 2.094 MB / 0.8907 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.5234, allocations: 2.174 MB / 0.8929 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.5236, allocations: 13.31 kB / 0.8929 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5236, allocations: 55.81 kB / 0.8929 GB, free: 14.31 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 2.776e-06/0.5236, allocations: 0 / 0.8929 GB, free: 14.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.2622/0.7858, allocations: 77.08 MB / 0.9682 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.7859, allocations: 81.34 kB / 0.9683 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2752/1.061, allocations: 1.662 MB / 0.9699 GB, free: 186 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004771/1.062, allocations: 67.17 kB / 0.97 GB, free: 186 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.063, allocations: 1.791 MB / 0.9717 GB, free: 185.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000873/1.064, allocations: 0.896 MB / 0.9726 GB, free: 184.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/1.065, allocations: 488.6 kB / 0.9731 GB, free: 184.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.219e-05/1.065, allocations: 301.6 kB / 0.9734 GB, free: 184.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/1.068, allocations: 2.73 MB / 0.976 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.072, allocations: 3.331 MB / 0.9793 GB, free: 181.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006531/1.079, allocations: 6.397 MB / 0.9855 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.079, allocations: 3.781 kB / 0.9855 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02598/1.105, allocations: 14.7 MB / 0.9999 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.105, allocations: 12 kB / 0.9999 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.105, allocations: 16 kB / 0.9999 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02396/1.129, allocations: 9.247 MB / 1.009 GB, free: 165.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.13, allocations: 299.4 kB / 1.009 GB, free: 164.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05867/1.189, allocations: 52.38 MB / 1.06 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.191, allocations: 227.7 kB / 1.061 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/1.192, allocations: 96 kB / 1.061 GB, free: 111.3 MB / 0.7325 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002018/1.194, allocations: 1.592 MB / 1.062 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/1.194, allocations: 257.7 kB / 1.062 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02589/1.22, allocations: 14.76 MB / 1.077 GB, free: 94.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/1.22, allocations: 29.06 kB / 1.077 GB, free: 94.64 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/1.22, allocations: 44 kB / 1.077 GB, free: 94.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/1.22, allocations: 11.95 kB / 1.077 GB, free: 94.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03352/1.254, allocations: 20.52 MB / 1.097 GB, free: 73.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/1.254, allocations: 4 kB / 1.097 GB, free: 73.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/1.254, allocations: 168.5 kB / 1.097 GB, free: 73.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02484/1.279, allocations: 9.008 MB / 1.106 GB, free: 64.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004133/1.28, allocations: 48 kB / 1.106 GB, free: 64.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05849/1.338, allocations: 51.98 MB / 1.157 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.338, allocations: 11.94 kB / 1.157 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0266/1.365, allocations: 14.38 MB / 1.171 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/1.367, allocations: 0.8468 MB / 1.172 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005672/1.367, allocations: 51.98 kB / 1.172 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.369, allocations: 207.7 kB / 1.172 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/1.371, allocations: 237.5 kB / 1.172 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.371, allocations: 68 kB / 1.172 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00184/1.373, allocations: 1.129 MB / 1.173 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.373, allocations: 0 / 1.173 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005042/1.378, allocations: 1.613 MB / 1.175 GB, free: 9.176 MB / 0.7481 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0351/1.413, allocations: 14.99 MB / 1.19 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0258/1.439, allocations: 10.59 MB / 1.2 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.439, allocations: 0 / 1.2 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01902/1.458, allocations: 7.324 MB / 1.207 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003837/1.462, allocations: 0.5493 MB / 1.208 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/1.571, allocations: 50.96 MB / 1.257 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005008/1.577, allocations: 3.231 MB / 1.26 GB, free: 220 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001165/1.578, allocations: 395.3 kB / 1.261 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/1.58, allocations: 1.464 MB / 1.262 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of SimCode: time 9.21e-07/1.58, allocations: 0 / 1.262 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5681/2.148, allocations: 120.9 MB / 1.38 GB, free: 233 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/16.95, allocations: 20.89 kB / 1.38 GB, free: 233 MB / 0.8575 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)