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.006976/0.006976, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001627/0.001627, allocations: 202 kB / 16.68 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 298.7 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1743, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3475/0.5218, allocations: 20.23 MB / 0.7857 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.5322, allocations: 6.443 MB / 0.792 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.5343, allocations: 86.53 kB / 0.7921 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005289/0.5396, allocations: 2.25 MB / 0.7942 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.543, allocations: 1.177 MB / 0.7954 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.5468, allocations: 1.28 MB / 0.7966 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006492/0.5533, allocations: 4.864 MB / 0.8014 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008836/0.5622, allocations: 5.581 MB / 0.8068 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/0.5666, allocations: 2.091 MB / 0.8089 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004894/0.5715, allocations: 2.341 MB / 0.8112 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.573, allocations: 433.4 kB / 0.8116 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003543/0.5766, allocations: 1.003 MB / 0.8126 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00382/0.5804, allocations: 1.661 MB / 0.8142 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007465/0.5879, allocations: 1.916 MB / 0.8161 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.5998, allocations: 6.541 MB / 0.8225 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5998, allocations: 1.375 kB / 0.8225 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5998, allocations: 0 / 0.8225 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002217/0.6001, allocations: 0 / 0.8225 GB, free: 2.688 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009426/0.6095, allocations: 3.534 MB / 0.8259 GB, free: 256 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6096, allocations: 13.5 kB / 0.8259 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007994/0.6104, allocations: 454.2 kB / 0.8263 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.614, allocations: 0.6577 MB / 0.827 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/0.6179, allocations: 2.051 MB / 0.829 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.6181, allocations: 221 kB / 0.8292 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.6186, allocations: 297.3 kB / 0.8295 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008483/0.6271, allocations: 4.887 MB / 0.8343 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-05/0.6272, allocations: 12.95 kB / 0.8343 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003421/0.6276, allocations: 131 kB / 0.8344 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000434/0.628, allocations: 228.3 kB / 0.8346 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006553/0.6346, allocations: 3.755 MB / 0.8383 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.6599, allocations: 21.45 MB / 0.8592 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.6619, allocations: 1.304 MB / 0.8605 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.6635, allocations: 1.053 MB / 0.8615 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.6635, allocations: 13 kB / 0.8615 GB, free: 60 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.6636, allocations: 43.56 kB / 0.8616 GB, free: 4 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 4.759e-06/0.6636, allocations: 0 / 0.8616 GB, free: 4 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02508/0.6887, allocations: 8.696 MB / 0.8701 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.6888, allocations: 64.72 kB / 0.8701 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.6904, allocations: 1.13 MB / 0.8712 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.6905, allocations: 45.7 kB / 0.8713 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009681/0.6915, allocations: 1.343 MB / 0.8726 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/0.692, allocations: 0.4957 MB / 0.8731 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004986/0.6925, allocations: 295.4 kB / 0.8734 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6926, allocations: 309.1 kB / 0.8737 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.694, allocations: 0.9135 MB / 0.8745 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.6957, allocations: 1.326 MB / 0.8758 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.699, allocations: 2.418 MB / 0.8782 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.699, allocations: 7.938 kB / 0.8782 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006307/0.7053, allocations: 3.476 MB / 0.8816 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.7054, allocations: 11.94 kB / 0.8816 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.7054, allocations: 16 kB / 0.8816 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.7087, allocations: 1.185 MB / 0.8828 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009289/0.7097, allocations: 251.6 kB / 0.883 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.7284, allocations: 13.86 MB / 0.8966 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.7298, allocations: 91.97 kB / 0.8966 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.73, allocations: 64 kB / 0.8967 GB, free: 11.15 MB / 0.6544 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.001961/0.7319, allocations: 1.115 MB / 0.8978 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.7322, allocations: 170.9 kB / 0.898 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/0.7381, allocations: 3.165 MB / 0.9011 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.7381, allocations: 12 kB / 0.9011 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.7382, allocations: 15.94 kB / 0.9011 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.7382, allocations: 11.97 kB / 0.9011 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.749, allocations: 6.245 MB / 0.9072 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.749, allocations: 4 kB / 0.9072 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.7496, allocations: 147.8 kB / 0.9073 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002944/0.7526, allocations: 1.078 MB / 0.9084 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.7527, allocations: 32 kB / 0.9084 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.771, allocations: 13.55 MB / 0.9217 GB, free: 1.016 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.771, allocations: 4 kB / 0.9217 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/0.7768, allocations: 3.155 MB / 0.9247 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/0.7778, allocations: 435.9 kB / 0.9252 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.778, allocations: 32 kB / 0.9252 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.7788, allocations: 79.89 kB / 0.9253 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/0.7792, allocations: 132.7 kB / 0.9254 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.7792, allocations: 36 kB / 0.9254 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001107/0.7804, allocations: 0.7593 MB / 0.9262 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7804, allocations: 0 / 0.9262 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002358/0.7827, allocations: 0.6641 MB / 0.9268 GB, free: 11.62 MB / 0.6856 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.005703/0.7884, allocations: 3.745 MB / 0.9305 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005153/0.7936, allocations: 3.158 MB / 0.9335 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7936, allocations: 0 / 0.9335 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.7968, allocations: 1.967 MB / 0.9355 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.7992, allocations: 0.4909 MB / 0.9359 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.8301, allocations: 19.2 MB / 0.9547 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/0.8327, allocations: 2.34 MB / 0.957 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001008/0.8337, allocations: 350.1 kB / 0.9573 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.835, allocations: 1.007 MB / 0.9583 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.835, allocations: 0 / 0.9583 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2385/1.074, allocations: 52.32 MB / 1.009 GB, free: 6.949 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.56, allocations: 19.08 kB / 1.009 GB, free: 6.934 MB / 0.7637 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)