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.0007702/0.0007702, allocations: 98.27 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.004509/0.004509, allocations: 169.8 kB / 16.27 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.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.001872/0.001872, allocations: 274.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9052/0.9052, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 14.19 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01035/0.1774, allocations: 9.506 MB / 0.6945 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.1822, allocations: 3.011 MB / 0.6975 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.1827, allocations: 33.53 kB / 0.6975 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1831, allocations: 186.6 kB / 0.6977 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1844, allocations: 0.6585 MB / 0.6983 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.1856, allocations: 0.5444 MB / 0.6989 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.1892, allocations: 4.065 MB / 0.7028 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.1935, allocations: 3.119 MB / 0.7059 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.1948, allocations: 0.8405 MB / 0.7067 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.1965, allocations: 1.273 MB / 0.7079 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.1967, allocations: 104 kB / 0.708 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.1975, allocations: 451.2 kB / 0.7085 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007484/0.1983, allocations: 0.8457 MB / 0.7093 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.1991, allocations: 0.8764 MB / 0.7101 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.2018, allocations: 3.259 MB / 0.7133 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2018, allocations: 0 / 0.7133 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2019, allocations: 0 / 0.7133 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.451e-05/0.2019, allocations: 4 kB / 0.7133 GB, free: 2.066 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.002808/0.2047, allocations: 1.597 MB / 0.7149 GB, free: 424 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2048, allocations: 12.03 kB / 0.7149 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003119/0.2051, allocations: 248.7 kB / 0.7151 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00571/0.2108, allocations: 0.8844 MB / 0.716 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.2128, allocations: 1.114 MB / 0.7171 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.739e-05/0.2129, allocations: 119.3 kB / 0.7172 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.2132, allocations: 144.3 kB / 0.7173 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.2178, allocations: 3.029 MB / 0.7203 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.2178, allocations: 7.906 kB / 0.7203 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.218, allocations: 63.97 kB / 0.7204 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.2182, allocations: 171 kB / 0.7205 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.2222, allocations: 2.612 MB / 0.7231 GB, free: 7.867 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.01589/0.2381, allocations: 13.52 MB / 0.7363 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2401, allocations: 1.297 MB / 0.7376 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.2415, allocations: 1.054 MB / 0.7386 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.2416, allocations: 8.656 kB / 0.7386 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2416, allocations: 43.22 kB / 0.7386 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 3.337e-06/0.2416, allocations: 0 / 0.7386 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.07427/0.3159, allocations: 19.47 MB / 0.7576 GB, free: 3.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.316, allocations: 72.59 kB / 0.7577 GB, free: 3.121 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3172, allocations: 0.9144 MB / 0.7586 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.3174, allocations: 49.7 kB / 0.7587 GB, free: 2.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.3178, allocations: 0.7321 MB / 0.7594 GB, free: 1.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/0.3183, allocations: 485 kB / 0.7598 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.3185, allocations: 129.6 kB / 0.76 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3186, allocations: 349.9 kB / 0.7603 GB, free: 440 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.3205, allocations: 1.335 MB / 0.7616 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.3225, allocations: 1.656 MB / 0.7632 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00394/0.3265, allocations: 3.09 MB / 0.7662 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3265, allocations: 0 / 0.7662 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0115/0.338, allocations: 5.643 MB / 0.7717 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.3381, allocations: 11.94 kB / 0.7718 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3381, allocations: 8 kB / 0.7718 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/0.3468, allocations: 2.72 MB / 0.7744 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/0.3477, allocations: 191.7 kB / 0.7746 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3774/0.7251, allocations: 23.32 MB / 0.7974 GB, free: 78.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.7269, allocations: 97.84 kB / 0.7975 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.7271, allocations: 62.92 kB / 0.7975 GB, free: 78.05 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.001772/0.7289, allocations: 0.7311 MB / 0.7982 GB, free: 77.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.7292, allocations: 115.8 kB / 0.7983 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.7411, allocations: 5.392 MB / 0.8036 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.7412, allocations: 15.75 kB / 0.8036 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.028e-05/0.7412, allocations: 18.56 kB / 0.8036 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.7412, allocations: 6.047 kB / 0.8037 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.7571, allocations: 8.623 MB / 0.8121 GB, free: 71.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.7572, allocations: 4.906 kB / 0.8121 GB, free: 71.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.7577, allocations: 114.7 kB / 0.8122 GB, free: 71.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008195/0.7659, allocations: 2.548 MB / 0.8147 GB, free: 70.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.7661, allocations: 27.94 kB / 0.8147 GB, free: 70.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/0.7906, allocations: 20.87 MB / 0.8351 GB, free: 52.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7907, allocations: 4 kB / 0.8351 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009023/0.7997, allocations: 5.13 MB / 0.8401 GB, free: 47.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/0.8004, allocations: 486.8 kB / 0.8406 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.8006, allocations: 32.81 kB / 0.8406 GB, free: 46.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.8015, allocations: 79.89 kB / 0.8407 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004684/0.802, allocations: 117 kB / 0.8408 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.932e-05/0.8021, allocations: 42.25 kB / 0.8408 GB, free: 46.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006457/0.8027, allocations: 0.6462 MB / 0.8414 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8027, allocations: 4 kB / 0.8415 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002183/0.8049, allocations: 0.7188 MB / 0.8422 GB, free: 45.32 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.00918/0.8141, allocations: 5.706 MB / 0.8477 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005963/0.8201, allocations: 4.161 MB / 0.8518 GB, free: 35.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.8201, allocations: 0 / 0.8518 GB, free: 35.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.8244, allocations: 2.656 MB / 0.8544 GB, free: 32.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.8261, allocations: 216.4 kB / 0.8546 GB, free: 32.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03097/0.8571, allocations: 22.56 MB / 0.8766 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.8582, allocations: 1.7 MB / 0.8783 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007018/0.859, allocations: 330.6 kB / 0.8786 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/0.8595, allocations: 0.5344 MB / 0.8791 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.8595, allocations: 0 / 0.8791 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07226/0.9317, allocations: 48.85 MB / 0.9268 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.932, allocations: 273.7 kB / 0.9271 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.32, allocations: 0 / 0.9271 GB, free: 5.887 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)