Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.0008441/0.0008442, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006022/0.006022, allocations: 169.3 kB / 16.26 MB, free: 6.648 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.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 275.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004132, allocations: 14.53 kB / 0.5988 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 88.54 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03688/0.2024, allocations: 36.35 MB / 0.7207 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.2235, allocations: 12.9 MB / 0.7333 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/0.2273, allocations: 147.1 kB / 0.7335 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/0.2297, allocations: 0.7675 MB / 0.7342 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.2359, allocations: 2.349 MB / 0.7365 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005383/0.2413, allocations: 2.305 MB / 0.7388 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01491/0.2562, allocations: 13.36 MB / 0.7518 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3467/0.603, allocations: 13.19 MB / 0.7647 GB, free: 20.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/0.609, allocations: 2.941 MB / 0.7676 GB, free: 20.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007788/0.6168, allocations: 3.868 MB / 0.7714 GB, free: 20.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001211/0.6181, allocations: 317.8 kB / 0.7717 GB, free: 20.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.622, allocations: 1.638 MB / 0.7733 GB, free: 20.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.6257, allocations: 2.469 MB / 0.7757 GB, free: 19.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.006473/0.6322, allocations: 2.945 MB / 0.7785 GB, free: 19.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.6468, allocations: 11.3 MB / 0.7896 GB, free: 17.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6469, allocations: 5.344 kB / 0.7896 GB, free: 17.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6469, allocations: 3.375 kB / 0.7896 GB, free: 17.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004466/0.6473, allocations: 0 / 0.7896 GB, free: 17.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01713/0.6645, allocations: 5.14 MB / 0.7946 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.6646, allocations: 12.38 kB / 0.7946 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004229/0.6688, allocations: 0.7518 MB / 0.7954 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.6795, allocations: 1.306 MB / 0.7966 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008675/0.6882, allocations: 3.564 MB / 0.8001 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.6886, allocations: 377.1 kB / 0.8005 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.6907, allocations: 0.4968 MB / 0.801 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01751/0.7082, allocations: 8.886 MB / 0.8096 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/0.7084, allocations: 30.33 kB / 0.8097 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000776/0.7092, allocations: 222.9 kB / 0.8099 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002146/0.7113, allocations: 0.6297 MB / 0.8105 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.727, allocations: 7.011 MB / 0.8173 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0517/0.7787, allocations: 40.43 MB / 0.8568 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/0.7831, allocations: 2.892 MB / 0.8596 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/0.7869, allocations: 2.666 MB / 0.8623 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.7871, allocations: 30.09 kB / 0.8623 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.7872, allocations: 71.59 kB / 0.8623 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=265): time 4.098e-06/0.7872, allocations: 4 kB / 0.8624 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=424): time 0.3103/1.098, allocations: 77.5 MB / 0.938 GB, free: 14.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/1.098, allocations: 94.73 kB / 0.9381 GB, free: 14.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.102, allocations: 2.352 MB / 0.9404 GB, free: 12.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007686/1.102, allocations: 100.8 kB / 0.9405 GB, free: 12.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/1.104, allocations: 2.338 MB / 0.9428 GB, free: 9.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.106, allocations: 1.434 MB / 0.9442 GB, free: 8.418 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009536/1.107, allocations: 339 kB / 0.9445 GB, free: 8.078 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.107, allocations: 309.1 kB / 0.9448 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/1.112, allocations: 2.995 MB / 0.9477 GB, free: 4.77 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/1.117, allocations: 3.845 MB / 0.9515 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.128, allocations: 7.382 MB / 0.9587 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/1.128, allocations: 8 kB / 0.9587 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02994/1.158, allocations: 12.56 MB / 0.971 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/1.158, allocations: 16 kB / 0.971 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/1.158, allocations: 20 kB / 0.971 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/1.182, allocations: 6.022 MB / 0.9769 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.184, allocations: 491.7 kB / 0.9774 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4286/1.613, allocations: 67.29 MB / 1.043 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004255/1.617, allocations: 214.3 kB / 1.043 GB, free: 259.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/1.618, allocations: 155.7 kB / 1.043 GB, free: 259.9 MB / 0.7637 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004206/1.622, allocations: 1.987 MB / 1.045 GB, free: 259.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009156/1.623, allocations: 393.1 kB / 1.046 GB, free: 259.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/1.649, allocations: 12.23 MB / 1.058 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.573e-05/1.649, allocations: 43.22 kB / 1.058 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001113/1.649, allocations: 51.97 kB / 1.058 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.946e-05/1.649, allocations: 22.73 kB / 1.058 GB, free: 259.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03373/1.683, allocations: 19.17 MB / 1.077 GB, free: 252.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/1.683, allocations: 7.844 kB / 1.077 GB, free: 252.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.684, allocations: 290.4 kB / 1.077 GB, free: 252.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/1.702, allocations: 5.576 MB / 1.082 GB, free: 250.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004153/1.702, allocations: 80.73 kB / 1.082 GB, free: 250.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05986/1.762, allocations: 64.92 MB / 1.146 GB, free: 197.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.762, allocations: 12.06 kB / 1.146 GB, free: 197.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/1.788, allocations: 15.61 MB / 1.161 GB, free: 181.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/1.79, allocations: 1.044 MB / 1.162 GB, free: 180.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005153/1.791, allocations: 87.92 kB / 1.162 GB, free: 180.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.793, allocations: 219.6 kB / 1.162 GB, free: 180.4 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001454/1.795, allocations: 398.3 kB / 1.163 GB, free: 180 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.795, allocations: 108 kB / 1.163 GB, free: 179.9 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001877/1.797, allocations: 1.556 MB / 1.164 GB, free: 178.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.71e-07/1.797, allocations: 0 / 1.164 GB, free: 178.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005385/1.802, allocations: 1.859 MB / 1.166 GB, free: 176.5 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02469/1.827, allocations: 16.3 MB / 1.182 GB, free: 160 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01615/1.843, allocations: 12.19 MB / 1.194 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.843, allocations: 256 / 1.194 GB, free: 147.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/1.856, allocations: 8.389 MB / 1.202 GB, free: 138.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007613/1.863, allocations: 1.11 MB / 1.203 GB, free: 137.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08992/1.953, allocations: 62.76 MB / 1.265 GB, free: 70.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/1.957, allocations: 4.094 MB / 1.269 GB, free: 66.73 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002147/1.959, allocations: 0.6669 MB / 1.269 GB, free: 66.06 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.961, allocations: 2.128 MB / 1.271 GB, free: 63.94 MB / 0.7637 GB Notification: Performance of SimCode: time 4.71e-07/1.961, allocations: 0 / 1.271 GB, free: 63.94 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.248/3.208, allocations: 144.4 MB / 1.412 GB, free: 204.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00017/3.208, allocations: 255.5 kB / 1.413 GB, free: 203.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.991/8.2, allocations: 2.953 kB / 1.413 GB, free: 203.8 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)