Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.001042/0.001042, 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.001009/0.001009, allocations: 189.2 kB / 16.14 MB, free: 6.66 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 278.2 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 99.06 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03792/0.1819, allocations: 40.78 MB / 0.7194 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.2075, allocations: 15.06 MB / 0.7341 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004819/0.2124, allocations: 167.1 kB / 0.7342 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.2224, allocations: 4.158 MB / 0.7383 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007581/0.23, allocations: 2.644 MB / 0.7409 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007247/0.2373, allocations: 2.883 MB / 0.7437 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01752/0.2548, allocations: 16 MB / 0.7593 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/0.2736, allocations: 13.64 MB / 0.7726 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3437/0.6173, allocations: 4.106 MB / 0.7767 GB, free: 26.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01182/0.6292, allocations: 5.476 MB / 0.782 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00401/0.6332, allocations: 0.6118 MB / 0.7826 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0079/0.6411, allocations: 2.046 MB / 0.7846 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.007558/0.6487, allocations: 3.357 MB / 0.7879 GB, free: 25.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01128/0.66, allocations: 3.914 MB / 0.7917 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02168/0.6817, allocations: 14.04 MB / 0.8054 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.6818, allocations: 0.8438 kB / 0.8054 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.6818, allocations: 0 / 0.8054 GB, free: 23.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006788/0.6825, allocations: 1.188 kB / 0.8054 GB, free: 23.45 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.0343/0.7168, allocations: 7.599 MB / 0.8128 GB, free: 20.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7169, allocations: 9.094 kB / 0.8128 GB, free: 20.19 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005558/0.7224, allocations: 0.8927 MB / 0.8137 GB, free: 19.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.7361, allocations: 1.523 MB / 0.8152 GB, free: 19.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.7491, allocations: 4.207 MB / 0.8193 GB, free: 17.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/0.7497, allocations: 454.9 kB / 0.8197 GB, free: 17.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/0.754, allocations: 0.5917 MB / 0.8203 GB, free: 17.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/0.7859, allocations: 10.69 MB / 0.8308 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004245/0.7864, allocations: 29.83 kB / 0.8308 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00345/0.7899, allocations: 265.2 kB / 0.831 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/0.7926, allocations: 0.7824 MB / 0.8318 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/0.813, allocations: 8.551 MB / 0.8402 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0685/0.8816, allocations: 46.87 MB / 0.8859 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/0.8882, allocations: 4.308 MB / 0.8901 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006661/0.8949, allocations: 3.705 MB / 0.8937 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.8954, allocations: 34.78 kB / 0.8938 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/0.8955, allocations: 77.34 kB / 0.8939 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=353): time 5.66e-06/0.8955, allocations: 0 / 0.8939 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=578): time 0.492/1.388, allocations: 122.7 MB / 1.014 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/1.388, allocations: 111.9 kB / 1.014 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005056/1.393, allocations: 2.685 MB / 1.016 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001598/1.394, allocations: 117.7 kB / 1.017 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/1.396, allocations: 2.682 MB / 1.019 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003182/1.4, allocations: 1.951 MB / 1.021 GB, free: 352 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004039/1.404, allocations: 0.9248 MB / 1.022 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.404, allocations: 306.6 kB / 1.022 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006911/1.411, allocations: 4.079 MB / 1.026 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008001/1.419, allocations: 5.012 MB / 1.031 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/1.435, allocations: 9.855 MB / 1.041 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.84e-05/1.435, allocations: 4 kB / 1.041 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04487/1.479, allocations: 17 MB / 1.057 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.48, allocations: 12 kB / 1.057 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.666e-05/1.48, allocations: 24 kB / 1.057 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03384/1.513, allocations: 9.089 MB / 1.066 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.516, allocations: 0.5217 MB / 1.067 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4056/1.922, allocations: 70.52 MB / 1.136 GB, free: 211.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005682/1.928, allocations: 279.5 kB / 1.136 GB, free: 211.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.929, allocations: 188.8 kB / 1.136 GB, free: 211.7 MB / 0.7794 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005386/1.934, allocations: 2.434 MB / 1.138 GB, free: 210.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.935, allocations: 469.5 kB / 1.139 GB, free: 210.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03224/1.968, allocations: 16.82 MB / 1.155 GB, free: 199.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/1.968, allocations: 52 kB / 1.155 GB, free: 199.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001568/1.968, allocations: 72 kB / 1.155 GB, free: 199.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.092e-05/1.968, allocations: 27.89 kB / 1.156 GB, free: 199.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04853/2.017, allocations: 25.65 MB / 1.181 GB, free: 174.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.956e-05/2.017, allocations: 12.69 kB / 1.181 GB, free: 174.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/2.018, allocations: 325.1 kB / 1.181 GB, free: 173.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02598/2.044, allocations: 8.26 MB / 1.189 GB, free: 165.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001516/2.046, allocations: 108 kB / 1.189 GB, free: 165.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07529/2.121, allocations: 67.39 MB / 1.255 GB, free: 96.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/2.121, allocations: 11.75 kB / 1.255 GB, free: 96.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03759/2.159, allocations: 21.57 MB / 1.276 GB, free: 75.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003408/2.162, allocations: 1.354 MB / 1.277 GB, free: 73.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009573/2.163, allocations: 112 kB / 1.277 GB, free: 73.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/2.166, allocations: 287.6 kB / 1.278 GB, free: 73.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00168/2.168, allocations: 0.5251 MB / 1.278 GB, free: 72.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003781/2.168, allocations: 144 kB / 1.278 GB, free: 72.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001908/2.17, allocations: 1.776 MB / 1.28 GB, free: 70.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/2.17, allocations: 0 / 1.28 GB, free: 70.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006329/2.176, allocations: 2.465 MB / 1.282 GB, free: 68.45 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03481/2.211, allocations: 22.26 MB / 1.304 GB, free: 46.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02071/2.232, allocations: 14.49 MB / 1.318 GB, free: 31.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.232, allocations: 9.156 kB / 1.318 GB, free: 31.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/2.246, allocations: 9.351 MB / 1.327 GB, free: 22.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/2.252, allocations: 1.287 MB / 1.329 GB, free: 20.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4003/2.652, allocations: 82.76 MB / 1.41 GB, free: 268.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005042/2.657, allocations: 4.897 MB / 1.414 GB, free: 266.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002632/2.66, allocations: 0.7414 MB / 1.415 GB, free: 266.5 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002465/2.662, allocations: 2.613 MB / 1.418 GB, free: 264.3 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/2.662, allocations: 0 / 1.418 GB, free: 264.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/2.914, allocations: 191.8 MB / 1.605 GB, free: 89.34 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/2.914, allocations: 265.3 kB / 1.605 GB, free: 89.01 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.808/8.722, allocations: 0 / 1.605 GB, free: 89.01 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)