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.001632/0.001632, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 195 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 274.9 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9376/0.9376, allocations: 169.2 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 97.2 kB / 0.5954 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1597, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03848/0.1983, allocations: 34.83 MB / 0.7143 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.2175, allocations: 11.49 MB / 0.7255 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.2208, allocations: 159.2 kB / 0.7257 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0113/0.2322, allocations: 4.253 MB / 0.7298 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.2388, allocations: 1.994 MB / 0.7318 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006626/0.2454, allocations: 2.395 MB / 0.7341 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.257, allocations: 8.46 MB / 0.7424 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/0.2727, allocations: 11.23 MB / 0.7533 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006377/0.2791, allocations: 3.724 MB / 0.757 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/0.2869, allocations: 4.187 MB / 0.7611 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.2891, allocations: 0.7773 MB / 0.7618 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005252/0.2943, allocations: 2.032 MB / 0.7638 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004651/0.299, allocations: 3.053 MB / 0.7668 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006461/0.3055, allocations: 3.404 MB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.5905/0.8961, allocations: 11.9 MB / 0.7817 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.8961, allocations: 1 kB / 0.7817 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8961, allocations: 0 / 0.7817 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004298/0.8966, allocations: 1 kB / 0.7817 GB, free: 39.21 MB / 0.5607 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.01981/0.9164, allocations: 5.796 MB / 0.7874 GB, free: 37.18 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.9164, allocations: 10.47 kB / 0.7874 GB, free: 37.18 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002848/0.9193, allocations: 0.8081 MB / 0.7882 GB, free: 37.11 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/0.9264, allocations: 1.059 MB / 0.7892 GB, free: 36.81 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/0.9333, allocations: 3.26 MB / 0.7924 GB, free: 36.15 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.9336, allocations: 413.6 kB / 0.7928 GB, free: 36.14 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/0.9356, allocations: 0.541 MB / 0.7933 GB, free: 36.13 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.9562, allocations: 9.08 MB / 0.8022 GB, free: 35.12 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003607/0.9566, allocations: 25.84 kB / 0.8022 GB, free: 35.12 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002028/0.9587, allocations: 231.7 kB / 0.8025 GB, free: 35.12 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005478/0.9592, allocations: 350.7 kB / 0.8028 GB, free: 35.11 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.9751, allocations: 6.827 MB / 0.8095 GB, free: 34.94 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04668/1.022, allocations: 40.12 MB / 0.8486 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003784/1.026, allocations: 3.11 MB / 0.8517 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/1.028, allocations: 1.969 MB / 0.8536 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/1.028, allocations: 21.19 kB / 0.8536 GB, free: 11.34 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.028, allocations: 51.5 kB / 0.8537 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=179): time 3.516e-06/1.028, allocations: 0 / 0.8537 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of matching and sorting (n=182): time 0.02558/1.054, allocations: 9.974 MB / 0.8634 GB, free: 5.645 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.054, allocations: 71.81 kB / 0.8635 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/1.057, allocations: 1.527 MB / 0.865 GB, free: 4.711 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/1.057, allocations: 59.8 kB / 0.865 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.058, allocations: 2.253 MB / 0.8672 GB, free: 2.688 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006351/1.059, allocations: 0.63 MB / 0.8678 GB, free: 2.145 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006813/1.06, allocations: 410.9 kB / 0.8682 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.06, allocations: 312.4 kB / 0.8685 GB, free: 1.613 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/1.061, allocations: 1.174 MB / 0.8697 GB, free: 1 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/1.064, allocations: 1.88 MB / 0.8715 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/1.068, allocations: 3.37 MB / 0.8748 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/1.068, allocations: 8 kB / 0.8748 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008312/1.076, allocations: 4.585 MB / 0.8793 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/1.076, allocations: 17.72 kB / 0.8793 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.077, allocations: 26.12 kB / 0.8793 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003834/1.08, allocations: 1.592 MB / 0.8809 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.082, allocations: 351.9 kB / 0.8812 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/1.106, allocations: 18.6 MB / 0.8994 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/1.108, allocations: 119.9 kB / 0.8995 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004384/1.109, allocations: 95.98 kB / 0.8996 GB, free: 1.836 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.004043/1.113, allocations: 1.889 MB / 0.9014 GB, free: 15.96 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007953/1.114, allocations: 229.1 kB / 0.9017 GB, free: 15.74 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/1.122, allocations: 4.089 MB / 0.9056 GB, free: 11.68 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.122, allocations: 20 kB / 0.9057 GB, free: 11.66 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.968e-05/1.122, allocations: 19.38 kB / 0.9057 GB, free: 11.64 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.118e-05/1.122, allocations: 7.969 kB / 0.9057 GB, free: 11.64 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.141, allocations: 9.479 MB / 0.915 GB, free: 2.027 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/1.141, allocations: 8.547 kB / 0.915 GB, free: 2.02 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009534/1.142, allocations: 189.5 kB / 0.9151 GB, free: 1.844 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003565/1.146, allocations: 1.353 MB / 0.9165 GB, free: 492 kB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/1.146, allocations: 36 kB / 0.9165 GB, free: 456 kB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/1.169, allocations: 17.37 MB / 0.9335 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.169, allocations: 11.19 kB / 0.9335 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/1.176, allocations: 4.072 MB / 0.9374 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.178, allocations: 0.5218 MB / 0.938 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006144/1.178, allocations: 36 kB / 0.938 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/1.18, allocations: 87.89 kB / 0.9381 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005266/1.18, allocations: 164.9 kB / 0.9382 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.181, allocations: 48 kB / 0.9383 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001758/1.182, allocations: 1.005 MB / 0.9393 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 0.9393 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003957/1.186, allocations: 0.9883 MB / 0.9402 GB, free: 7.578 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.007436/1.194, allocations: 4.672 MB / 0.9448 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009008/1.203, allocations: 5.187 MB / 0.9498 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.203, allocations: 8.125 kB / 0.9499 GB, free: 13.72 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004973/1.208, allocations: 2.657 MB / 0.9524 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/1.213, allocations: 0.7855 MB / 0.9532 GB, free: 10.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0588/1.272, allocations: 28.67 MB / 0.9812 GB, free: 11.86 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/1.283, allocations: 3.569 MB / 0.9847 GB, free: 8.258 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.002915/1.286, allocations: 467.9 kB / 0.9851 GB, free: 7.797 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004475/1.29, allocations: 1.784 MB / 0.9869 GB, free: 6.016 MB / 0.7013 GB Notification: Performance of SimCode: time 1.633e-06/1.29, allocations: 2.188 kB / 0.9869 GB, free: 6.016 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5082/1.798, allocations: 72.49 MB / 1.058 GB, free: 267.7 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/12.24, allocations: 16.17 kB / 1.058 GB, free: 267.7 MB / 0.7638 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)