Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00174/0.00174, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 286.8 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 94.12 kB / 0.5948 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1684, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02402/0.1925, allocations: 23.21 MB / 0.7024 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.2031, allocations: 6.445 MB / 0.7087 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.2051, allocations: 79.56 kB / 0.7088 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.2088, allocations: 1.358 MB / 0.7101 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.2135, allocations: 1.704 MB / 0.7118 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.2177, allocations: 1.343 MB / 0.7131 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00803/0.2257, allocations: 6.954 MB / 0.7199 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.2367, allocations: 8.12 MB / 0.7278 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004274/0.241, allocations: 2.889 MB / 0.7306 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/0.2462, allocations: 3.681 MB / 0.7342 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.2477, allocations: 0.5273 MB / 0.7347 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.2509, allocations: 1.182 MB / 0.7359 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00339/0.2543, allocations: 2.472 MB / 0.7383 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004505/0.2588, allocations: 2.532 MB / 0.7408 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009762/0.2686, allocations: 8.522 MB / 0.7491 GB, free: 9.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2686, allocations: 0 / 0.7491 GB, free: 9.688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2686, allocations: 0 / 0.7491 GB, free: 9.688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002558/0.2689, allocations: 4 kB / 0.7491 GB, free: 9.684 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01025/0.2791, allocations: 4.424 MB / 0.7534 GB, free: 5.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.2792, allocations: 12.03 kB / 0.7534 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001102/0.2803, allocations: 0.5753 MB / 0.754 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00843/0.2888, allocations: 1.665 MB / 0.7556 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.2936, allocations: 2.579 MB / 0.7581 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.2939, allocations: 283.6 kB / 0.7584 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.2949, allocations: 364.2 kB / 0.7588 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0129/0.3078, allocations: 7.483 MB / 0.7661 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.44e-05/0.3079, allocations: 15.88 kB / 0.7661 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004711/0.3084, allocations: 163.9 kB / 0.7662 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005233/0.3089, allocations: 487.3 kB / 0.7667 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00948/0.3184, allocations: 5.697 MB / 0.7723 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3413/0.6597, allocations: 31.71 MB / 0.8032 GB, free: 62.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.6627, allocations: 2.087 MB / 0.8053 GB, free: 61.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/0.6654, allocations: 2.178 MB / 0.8074 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6656, allocations: 18.5 kB / 0.8074 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.6656, allocations: 49.31 kB / 0.8075 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.6656, allocations: 0 / 0.8075 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2546/0.9203, allocations: 77 MB / 0.8827 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.9204, allocations: 85.34 kB / 0.8827 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.9231, allocations: 1.658 MB / 0.8844 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004788/0.9236, allocations: 65.7 kB / 0.8844 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.9249, allocations: 1.751 MB / 0.8861 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.9262, allocations: 0.8576 MB / 0.887 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.9273, allocations: 485.2 kB / 0.8874 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9274, allocations: 305.1 kB / 0.8877 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003905/0.9313, allocations: 2.73 MB / 0.8904 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.9358, allocations: 3.328 MB / 0.8936 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008764/0.9446, allocations: 6.394 MB / 0.8999 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.9447, allocations: 8 kB / 0.8999 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03301/0.9777, allocations: 14.68 MB / 0.9142 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.9778, allocations: 14.19 kB / 0.9142 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.864e-05/0.9778, allocations: 16 kB / 0.9143 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04801/1.026, allocations: 9.298 MB / 0.9233 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.027, allocations: 301.8 kB / 0.9236 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07867/1.106, allocations: 52.38 MB / 0.9748 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/1.109, allocations: 219.7 kB / 0.975 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/1.109, allocations: 104 kB / 0.9751 GB, free: 12.75 MB / 0.67 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002901/1.112, allocations: 1.587 MB / 0.9766 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/1.113, allocations: 241.1 kB / 0.9769 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03164/1.144, allocations: 14.76 MB / 0.9913 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/1.144, allocations: 24 kB / 0.9913 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001179/1.145, allocations: 44 kB / 0.9913 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.045e-05/1.145, allocations: 11.95 kB / 0.9914 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04033/1.185, allocations: 20.52 MB / 1.011 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.185, allocations: 8 kB / 1.011 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007547/1.186, allocations: 155.8 kB / 1.012 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02823/1.214, allocations: 9.07 MB / 1.02 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005532/1.215, allocations: 48 kB / 1.02 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3897/1.604, allocations: 51.95 MB / 1.071 GB, free: 237.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.604, allocations: 7.719 kB / 1.071 GB, free: 237.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02826/1.633, allocations: 14.37 MB / 1.085 GB, free: 233.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/1.634, allocations: 0.8411 MB / 1.086 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004504/1.635, allocations: 55.23 kB / 1.086 GB, free: 233.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.637, allocations: 211.8 kB / 1.086 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/1.638, allocations: 236.2 kB / 1.087 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/1.638, allocations: 66.75 kB / 1.087 GB, free: 233.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00115/1.639, allocations: 1.126 MB / 1.088 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.639, allocations: 0 / 1.088 GB, free: 232.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003951/1.643, allocations: 1.619 MB / 1.089 GB, free: 232.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02601/1.669, allocations: 14.97 MB / 1.104 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01929/1.689, allocations: 11.34 MB / 1.115 GB, free: 213.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.689, allocations: 0 / 1.115 GB, free: 213.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/1.703, allocations: 7.31 MB / 1.122 GB, free: 206.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004853/1.708, allocations: 0.5556 MB / 1.123 GB, free: 205.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08532/1.794, allocations: 55.14 MB / 1.176 GB, free: 148.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/1.797, allocations: 3.226 MB / 1.18 GB, free: 145.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001089/1.798, allocations: 384.2 kB / 1.18 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.799, allocations: 1.468 MB / 1.181 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.799, allocations: 0 / 1.181 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/2.042, allocations: 120.5 MB / 1.299 GB, free: 23.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/2.042, allocations: 271.5 kB / 1.299 GB, free: 23.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/5.481, allocations: 2.953 kB / 1.299 GB, free: 23.05 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)