Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_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.0009879/0.0009879, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.00118/0.00118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.874/1.874, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000566/0.0005661, allocations: 14.97 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3017, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02502/0.3268, allocations: 24.2 MB / 0.811 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.3409, allocations: 7.731 MB / 0.8186 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.3443, allocations: 103.4 kB / 0.8187 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.3461, allocations: 0.5077 MB / 0.8192 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.3505, allocations: 1.282 MB / 0.8204 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.3543, allocations: 0.988 MB / 0.8214 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008978/0.3633, allocations: 6.884 MB / 0.8281 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01407/0.3774, allocations: 8.168 MB / 0.8361 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004497/0.3819, allocations: 1.879 MB / 0.8379 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004547/0.3865, allocations: 2.398 MB / 0.8403 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006479/0.3872, allocations: 215.9 kB / 0.8405 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3894, allocations: 0.597 MB / 0.8411 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.3912, allocations: 1.656 MB / 0.8427 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.3926, allocations: 0.8083 MB / 0.8435 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007316/0.3999, allocations: 6.631 MB / 0.85 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3999, allocations: 0 / 0.85 GB, free: 11.54 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4, allocations: 0 / 0.85 GB, free: 11.54 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002647/0.4002, allocations: 0 / 0.85 GB, free: 11.54 MB / 0.67 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.00835/0.4086, allocations: 3.46 MB / 0.8533 GB, free: 8.012 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4086, allocations: 8.031 kB / 0.8533 GB, free: 8.004 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001562/0.4102, allocations: 0.5341 MB / 0.8539 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00457/0.4148, allocations: 0.7992 MB / 0.8546 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005188/0.42, allocations: 2.37 MB / 0.857 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.4202, allocations: 279.2 kB / 0.8572 GB, free: 3.957 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009537/0.4212, allocations: 379.7 kB / 0.8576 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01176/0.433, allocations: 5.957 MB / 0.8634 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.4331, allocations: 15.88 kB / 0.8634 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4335, allocations: 164 kB / 0.8636 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005646/0.4341, allocations: 278.9 kB / 0.8638 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008394/0.4425, allocations: 4.489 MB / 0.8682 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03076/0.4733, allocations: 27.69 MB / 0.8953 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.4749, allocations: 1.119 MB / 0.8964 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4762, allocations: 1.025 MB / 0.8974 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.4763, allocations: 16.94 kB / 0.8974 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4764, allocations: 43.56 kB / 0.8974 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 2.574e-06/0.4764, allocations: 3.938 kB / 0.8974 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.02051/0.4969, allocations: 9.655 MB / 0.9069 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.497, allocations: 68.72 kB / 0.9069 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.4992, allocations: 1.486 MB / 0.9084 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4994, allocations: 53.7 kB / 0.9084 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.5006, allocations: 1.659 MB / 0.91 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.5011, allocations: 477.2 kB / 0.9105 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.542e-05/0.5012, allocations: 32 kB / 0.9105 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.5014, allocations: 381.8 kB / 0.9109 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5027, allocations: 0.9096 MB / 0.9118 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.5044, allocations: 1.451 MB / 0.9132 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.506, allocations: 1.146 MB / 0.9143 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.5061, allocations: 8 kB / 0.9143 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005576/0.5116, allocations: 3.27 MB / 0.9175 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.5117, allocations: 12 kB / 0.9175 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.5117, allocations: 16 kB / 0.9175 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.5138, allocations: 0.7377 MB / 0.9183 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.5153, allocations: 387.3 kB / 0.9186 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6086/1.124, allocations: 15.75 MB / 0.934 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/1.126, allocations: 102.2 kB / 0.9341 GB, free: 112 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.126, allocations: 75.61 kB / 0.9342 GB, free: 112 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002348/1.128, allocations: 1.317 MB / 0.9355 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/1.129, allocations: 200.4 kB / 0.9357 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/1.133, allocations: 2.775 MB / 0.9384 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.134, allocations: 14.16 kB / 0.9384 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.134, allocations: 6.25 kB / 0.9384 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/1.134, allocations: 5.953 kB / 0.9384 GB, free: 110.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.145, allocations: 6.214 MB / 0.9445 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.145, allocations: 4 kB / 0.9445 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.146, allocations: 234.8 kB / 0.9447 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/1.148, allocations: 0.6697 MB / 0.9454 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.149, allocations: 34.05 kB / 0.9454 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/1.163, allocations: 15.51 MB / 0.9605 GB, free: 94.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.163, allocations: 4.938 kB / 0.9605 GB, free: 94.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/1.169, allocations: 3.992 MB / 0.9644 GB, free: 92.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.17, allocations: 462.8 kB / 0.9649 GB, free: 92.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/1.171, allocations: 32.86 kB / 0.9649 GB, free: 92.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/1.171, allocations: 84.02 kB / 0.965 GB, free: 92.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/1.172, allocations: 117.7 kB / 0.9651 GB, free: 91.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/1.172, allocations: 40.81 kB / 0.9651 GB, free: 91.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001444/1.173, allocations: 0.9745 MB / 0.9661 GB, free: 91.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.173, allocations: 0.9844 kB / 0.9661 GB, free: 91.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002846/1.176, allocations: 0.6852 MB / 0.9668 GB, free: 91.56 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006/1.182, allocations: 4.597 MB / 0.9713 GB, free: 89.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005063/1.187, allocations: 3.484 MB / 0.9747 GB, free: 87.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.187, allocations: 1.219 kB / 0.9747 GB, free: 87.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.19, allocations: 2.29 MB / 0.9769 GB, free: 85.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.193, allocations: 0.6145 MB / 0.9775 GB, free: 85.49 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.219, allocations: 17.77 MB / 0.9948 GB, free: 72.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/1.221, allocations: 2.664 MB / 0.9974 GB, free: 70.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001605/1.223, allocations: 489.4 kB / 0.9979 GB, free: 69.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.224, allocations: 1.284 MB / 0.9992 GB, free: 68.37 MB / 0.7325 GB Notification: Performance of SimCode: time 8.62e-07/1.224, allocations: 0 / 0.9992 GB, free: 68.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07269/1.297, allocations: 54.66 MB / 1.053 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.297, allocations: 230.6 kB / 1.053 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/4.431, allocations: 0 / 1.053 GB, free: 14.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: