Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.005319/0.005319, allocations: 101.1 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.001194/0.001194, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.002231, allocations: 282.8 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9861/0.9861, allocations: 169.3 MB / 0.4983 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 91.86 kB / 0.681 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3838/0.5473, allocations: 26.65 MB / 0.7919 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01464/0.562, allocations: 8.074 MB / 0.7998 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.5654, allocations: 118.3 kB / 0.7999 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0073/0.5727, allocations: 2.765 MB / 0.8026 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.5785, allocations: 1.664 MB / 0.8043 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005769/0.5843, allocations: 1.677 MB / 0.8059 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.5957, allocations: 6.152 MB / 0.8119 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009575/0.6054, allocations: 7.319 MB / 0.8191 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005122/0.6105, allocations: 2.616 MB / 0.8216 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005118/0.6157, allocations: 2.833 MB / 0.8244 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.617, allocations: 0.5121 MB / 0.8249 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.6211, allocations: 1.279 MB / 0.8261 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.6243, allocations: 2.047 MB / 0.8281 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004556/0.6289, allocations: 2.385 MB / 0.8305 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009399/0.6383, allocations: 8.057 MB / 0.8383 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6384, allocations: 0 / 0.8383 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6384, allocations: 1.594 kB / 0.8383 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000183/0.6386, allocations: 0 / 0.8383 GB, free: 7.309 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00906/0.6476, allocations: 4.222 MB / 0.8425 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6477, allocations: 11.62 kB / 0.8425 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007767/0.6485, allocations: 0.5396 MB / 0.843 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.6528, allocations: 0.7964 MB / 0.8438 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004828/0.6576, allocations: 2.577 MB / 0.8463 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.6578, allocations: 275.6 kB / 0.8465 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007558/0.6586, allocations: 380.4 kB / 0.8469 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009119/0.6677, allocations: 5.992 MB / 0.8528 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.21e-05/0.6678, allocations: 23.77 kB / 0.8528 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.6682, allocations: 160 kB / 0.8529 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005536/0.6688, allocations: 278.9 kB / 0.8532 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007062/0.6758, allocations: 4.524 MB / 0.8576 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.7025, allocations: 27.46 MB / 0.8844 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.7042, allocations: 1.11 MB / 0.8855 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.7055, allocations: 1.019 MB / 0.8865 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.7056, allocations: 16.98 kB / 0.8865 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.7056, allocations: 47.56 kB / 0.8866 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/0.7056, allocations: 0 / 0.8866 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02135/0.727, allocations: 9.676 MB / 0.896 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.7271, allocations: 68.72 kB / 0.8961 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.7289, allocations: 1.494 MB / 0.8976 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.7291, allocations: 49.69 kB / 0.8976 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.7301, allocations: 1.667 MB / 0.8992 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004428/0.7306, allocations: 473.2 kB / 0.8997 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005202/0.7311, allocations: 327.2 kB / 0.9 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.7312, allocations: 305.1 kB / 0.9003 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.7325, allocations: 0.9135 MB / 0.9012 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.7341, allocations: 1.463 MB / 0.9026 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003042/0.7371, allocations: 2.55 MB / 0.9051 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.7371, allocations: 8 kB / 0.9051 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005548/0.7427, allocations: 3.285 MB / 0.9083 GB, free: 14.64 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.7427, allocations: 12 kB / 0.9083 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.7428, allocations: 20.91 kB / 0.9083 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.745, allocations: 0.7373 MB / 0.9091 GB, free: 13.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.7466, allocations: 383.4 kB / 0.9094 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01559/0.7622, allocations: 17.05 MB / 0.9261 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.7639, allocations: 99.91 kB / 0.9262 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.7641, allocations: 75.94 kB / 0.9262 GB, free: 10.98 MB / 0.6856 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002455/0.7666, allocations: 1.306 MB / 0.9275 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.767, allocations: 197.7 kB / 0.9277 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/0.7719, allocations: 2.796 MB / 0.9304 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.772, allocations: 12 kB / 0.9305 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.772, allocations: 8 kB / 0.9305 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.772, allocations: 7.969 kB / 0.9305 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.7824, allocations: 6.213 MB / 0.9365 GB, free: 236 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.7825, allocations: 8 kB / 0.9365 GB, free: 228 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/0.7837, allocations: 235.8 kB / 0.9368 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002139/0.7858, allocations: 0.6714 MB / 0.9374 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.786, allocations: 32 kB / 0.9375 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01511/0.8011, allocations: 16.78 MB / 0.9538 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8011, allocations: 4 kB / 0.9538 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006278/0.8074, allocations: 4.008 MB / 0.9578 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.8085, allocations: 454.6 kB / 0.9582 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.8087, allocations: 35.92 kB / 0.9582 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.8096, allocations: 87.89 kB / 0.9583 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.8099, allocations: 112.7 kB / 0.9584 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.81, allocations: 36 kB / 0.9585 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001348/0.8114, allocations: 0.9981 MB / 0.9594 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8114, allocations: 0 / 0.9594 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002378/0.8138, allocations: 0.6875 MB / 0.9601 GB, free: 6.684 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00619/0.82, allocations: 4.604 MB / 0.9646 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005299/0.8253, allocations: 3.526 MB / 0.968 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.8253, allocations: 4.875 kB / 0.968 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003012/0.8284, allocations: 2.291 MB / 0.9703 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/0.8311, allocations: 0.6815 MB / 0.9709 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/0.8614, allocations: 21.14 MB / 0.9916 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002545/0.864, allocations: 2.668 MB / 0.9942 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001395/0.8654, allocations: 485.4 kB / 0.9947 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.8669, allocations: 1.284 MB / 0.9959 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of SimCode: time 8.02e-07/0.8669, allocations: 0 / 0.9959 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/0.9713, allocations: 57.23 MB / 1.052 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.67, allocations: 6.25 kB / 1.052 GB, free: 8.305 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)