Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 152 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.001194/0.001194, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 282.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 95.28 kB / 0.5954 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1389, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01184/0.1508, allocations: 9.992 MB / 0.6901 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.1556, allocations: 3.04 MB / 0.693 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006102/0.1563, allocations: 43.75 kB / 0.6931 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.158, allocations: 0.6842 MB / 0.6937 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1592, allocations: 0.696 MB / 0.6944 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1604, allocations: 0.6344 MB / 0.695 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002268/0.1627, allocations: 2.734 MB / 0.6977 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.1653, allocations: 2.546 MB / 0.7002 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1665, allocations: 1.122 MB / 0.7013 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.168, allocations: 1.383 MB / 0.7026 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002924/0.1683, allocations: 216 kB / 0.7028 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000822/0.1691, allocations: 491.4 kB / 0.7033 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008666/0.17, allocations: 0.9785 MB / 0.7043 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009742/0.171, allocations: 1.015 MB / 0.7053 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.1738, allocations: 3.389 MB / 0.7086 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1738, allocations: 4 kB / 0.7086 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1738, allocations: 0 / 0.7086 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.738e-05/0.1738, allocations: 0 / 0.7086 GB, free: 3.535 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003208/0.1771, allocations: 1.947 MB / 0.7105 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1771, allocations: 11.97 kB / 0.7105 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003014/0.1774, allocations: 248.7 kB / 0.7107 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/0.1834, allocations: 0.8844 MB / 0.7116 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.1854, allocations: 1.122 MB / 0.7127 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.1854, allocations: 107.3 kB / 0.7128 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.1857, allocations: 148.3 kB / 0.7129 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.19, allocations: 3.021 MB / 0.7159 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.19, allocations: 4 kB / 0.7159 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.1902, allocations: 71.91 kB / 0.716 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/0.1904, allocations: 179 kB / 0.7161 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/0.1943, allocations: 2.604 MB / 0.7187 GB, free: 8.98 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.2096, allocations: 13.56 MB / 0.7319 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.2116, allocations: 1.295 MB / 0.7332 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.213, allocations: 1.05 MB / 0.7342 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-05/0.213, allocations: 12.59 kB / 0.7342 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2131, allocations: 39.22 kB / 0.7342 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.385e-06/0.2131, allocations: 0 / 0.7342 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07778/0.2909, allocations: 19.38 MB / 0.7532 GB, free: 4.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.2909, allocations: 64.72 kB / 0.7532 GB, free: 4.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.2922, allocations: 0.9222 MB / 0.7541 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.2923, allocations: 45.7 kB / 0.7542 GB, free: 3.324 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.2928, allocations: 0.7283 MB / 0.7549 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.2933, allocations: 492.9 kB / 0.7554 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/0.2939, allocations: 291.5 kB / 0.7556 GB, free: 1.801 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2941, allocations: 353.9 kB / 0.756 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.2959, allocations: 1.335 MB / 0.7573 GB, free: 116 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/0.2981, allocations: 1.659 MB / 0.7589 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.3021, allocations: 3.092 MB / 0.7619 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.3022, allocations: 4 kB / 0.7619 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01223/0.3144, allocations: 5.643 MB / 0.7674 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.3145, allocations: 11.94 kB / 0.7674 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3145, allocations: 8 kB / 0.7674 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008864/0.3234, allocations: 2.731 MB / 0.7701 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.3242, allocations: 195.6 kB / 0.7703 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3066/0.6308, allocations: 25.72 MB / 0.7954 GB, free: 77.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.6323, allocations: 98.33 kB / 0.7955 GB, free: 77.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.6325, allocations: 59.72 kB / 0.7956 GB, free: 77.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009661/0.6334, allocations: 0.736 MB / 0.7963 GB, free: 77.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.6337, allocations: 111.7 kB / 0.7964 GB, free: 77.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.645, allocations: 5.398 MB / 0.8017 GB, free: 75.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.645, allocations: 18.97 kB / 0.8017 GB, free: 75.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.227e-05/0.6451, allocations: 18.62 kB / 0.8017 GB, free: 75.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.6451, allocations: 9.094 kB / 0.8017 GB, free: 75.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.661, allocations: 8.635 MB / 0.8101 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.6611, allocations: 3.875 kB / 0.8101 GB, free: 71.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.6616, allocations: 122 kB / 0.8103 GB, free: 71.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007966/0.6696, allocations: 2.561 MB / 0.8128 GB, free: 70.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002182/0.6698, allocations: 30.28 kB / 0.8128 GB, free: 70.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02662/0.6964, allocations: 23 MB / 0.8353 GB, free: 50.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6965, allocations: 11.88 kB / 0.8353 GB, free: 50.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009749/0.7062, allocations: 5.119 MB / 0.8403 GB, free: 44.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/0.7072, allocations: 483.5 kB / 0.8407 GB, free: 44.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/0.7075, allocations: 27.94 kB / 0.8408 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7087, allocations: 71.91 kB / 0.8408 GB, free: 44.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005149/0.7092, allocations: 129.1 kB / 0.8409 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.7093, allocations: 39.94 kB / 0.841 GB, free: 44.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007196/0.71, allocations: 0.6395 MB / 0.8416 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.71, allocations: 4 kB / 0.8416 GB, free: 43.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002423/0.7125, allocations: 0.7188 MB / 0.8423 GB, free: 42.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009568/0.722, allocations: 5.724 MB / 0.8479 GB, free: 37.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006891/0.729, allocations: 4.735 MB / 0.8525 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.729, allocations: 0 / 0.8525 GB, free: 32.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/0.7336, allocations: 2.668 MB / 0.8551 GB, free: 29.56 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7351, allocations: 221 kB / 0.8553 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03238/0.7675, allocations: 21.84 MB / 0.8767 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.769, allocations: 1.7 MB / 0.8783 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008181/0.7698, allocations: 331.6 kB / 0.8787 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/0.7705, allocations: 0.5266 MB / 0.8792 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.7705, allocations: 0 / 0.8792 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08888/0.8594, allocations: 51.39 MB / 0.9293 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.97, allocations: 19.95 kB / 0.9294 GB, free: 1.387 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)