Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_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.001145/0.001146, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001157/0.001156, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 61.17 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1504, allocations: 76.19 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03916/0.1896, allocations: 34.81 MB / 0.6656 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.21, allocations: 11.51 MB / 0.6768 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.2141, allocations: 159.2 kB / 0.677 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.2258, allocations: 4.245 MB / 0.6811 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.2325, allocations: 1.998 MB / 0.6831 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007228/0.2398, allocations: 2.413 MB / 0.6854 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01054/0.2503, allocations: 8.46 MB / 0.6937 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01653/0.2669, allocations: 11.12 MB / 0.7046 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007246/0.2742, allocations: 3.798 MB / 0.7083 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00791/0.2822, allocations: 4.187 MB / 0.7124 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002371/0.2846, allocations: 0.7773 MB / 0.7131 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.29, allocations: 2.028 MB / 0.7151 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0051/0.2951, allocations: 3.057 MB / 0.7181 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009814/0.305, allocations: 3.404 MB / 0.7214 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02368/0.3287, allocations: 11.98 MB / 0.7331 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.3288, allocations: 0 / 0.7331 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3288, allocations: 4 kB / 0.7331 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003917/0.3292, allocations: 0 / 0.7331 GB, free: 12.57 MB / 0.5762 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.02576/0.355, allocations: 5.799 MB / 0.7388 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.3551, allocations: 8.031 kB / 0.7388 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003202/0.3583, allocations: 0.809 MB / 0.7396 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006959/0.3653, allocations: 1.067 MB / 0.7406 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009619/0.3749, allocations: 3.453 MB / 0.744 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/0.3754, allocations: 407.5 kB / 0.7444 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002304/0.3778, allocations: 0.5393 MB / 0.7449 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3419/0.7197, allocations: 9.078 MB / 0.7538 GB, free: 95.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.72, allocations: 30.53 kB / 0.7538 GB, free: 95.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.7213, allocations: 231.5 kB / 0.754 GB, free: 94.93 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004419/0.7218, allocations: 351.4 kB / 0.7544 GB, free: 94.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.7361, allocations: 6.831 MB / 0.761 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03702/0.7732, allocations: 39.79 MB / 0.7999 GB, free: 56.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.7762, allocations: 3.109 MB / 0.8029 GB, free: 53.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/0.7783, allocations: 1.98 MB / 0.8049 GB, free: 51.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.7784, allocations: 25.83 kB / 0.8049 GB, free: 51.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7784, allocations: 48.56 kB / 0.8049 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 3.887e-06/0.7785, allocations: 0 / 0.8049 GB, free: 50.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.02137/0.7998, allocations: 9.981 MB / 0.8147 GB, free: 40.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.7999, allocations: 73.41 kB / 0.8147 GB, free: 40.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8015, allocations: 1.534 MB / 0.8162 GB, free: 39.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.8017, allocations: 53.7 kB / 0.8163 GB, free: 39.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.8025, allocations: 2.253 MB / 0.8185 GB, free: 36.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.803, allocations: 0.6345 MB / 0.8191 GB, free: 36.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/0.8035, allocations: 403.9 kB / 0.8195 GB, free: 35.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.8035, allocations: 301.1 kB / 0.8198 GB, free: 35.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.8048, allocations: 1.183 MB / 0.8209 GB, free: 34.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.8063, allocations: 1.881 MB / 0.8228 GB, free: 32.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.8093, allocations: 3.367 MB / 0.8261 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.8093, allocations: 8 kB / 0.8261 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006385/0.8157, allocations: 4.581 MB / 0.8305 GB, free: 23.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.8158, allocations: 16 kB / 0.8306 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/0.8158, allocations: 20 kB / 0.8306 GB, free: 23.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.8191, allocations: 1.591 MB / 0.8321 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.8202, allocations: 355.3 kB / 0.8325 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.838, allocations: 18.57 MB / 0.8506 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.8398, allocations: 119.9 kB / 0.8507 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.84, allocations: 92 kB / 0.8508 GB, free: 2.586 MB / 0.5762 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.002617/0.8427, allocations: 1.898 MB / 0.8527 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.8431, allocations: 225.3 kB / 0.8529 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006726/0.8498, allocations: 4.09 MB / 0.8569 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.8499, allocations: 16 kB / 0.8569 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.826e-05/0.8499, allocations: 23.94 kB / 0.8569 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.809e-05/0.85, allocations: 7.969 kB / 0.8569 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.8672, allocations: 9.466 MB / 0.8662 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.8672, allocations: 8.062 kB / 0.8662 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/0.8681, allocations: 179.7 kB / 0.8663 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/0.8716, allocations: 1.347 MB / 0.8677 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/0.8718, allocations: 43.88 kB / 0.8677 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/0.8931, allocations: 17.35 MB / 0.8846 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.8932, allocations: 10.28 kB / 0.8847 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.9001, allocations: 4.074 MB / 0.8886 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.9017, allocations: 0.5295 MB / 0.8891 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.9021, allocations: 36 kB / 0.8892 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.9032, allocations: 87.89 kB / 0.8893 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/0.9037, allocations: 161.7 kB / 0.8894 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.9038, allocations: 51.94 kB / 0.8895 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001519/0.9053, allocations: 1.005 MB / 0.8905 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9053, allocations: 4 kB / 0.8905 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003345/0.9087, allocations: 0.9844 MB / 0.8914 GB, free: 8.047 MB / 0.6231 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.006945/0.9156, allocations: 4.667 MB / 0.896 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007125/0.9228, allocations: 4.307 MB / 0.9002 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.9229, allocations: 0 / 0.9002 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/0.9273, allocations: 2.658 MB / 0.9028 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.9313, allocations: 0.7859 MB / 0.9035 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04959/0.9809, allocations: 26.82 MB / 0.9297 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/0.9872, allocations: 3.576 MB / 0.9332 GB, free: 11.99 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001571/0.9888, allocations: 471.9 kB / 0.9337 GB, free: 11.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002507/0.9914, allocations: 1.784 MB / 0.9354 GB, free: 9.742 MB / 0.67 GB Notification: Performance of SimCode: time 1.463e-06/0.9914, allocations: 0 / 0.9354 GB, free: 9.742 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.124, allocations: 74.53 MB / 1.008 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.17, allocations: 22.92 kB / 1.008 GB, free: 15.84 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)