Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001352/0.001352, allocations: 187.6 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 222 MB, free: 4.777 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.788/1.788, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001345/0.001345, allocations: 60.28 kB / 0.6708 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2612, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02597/0.2872, allocations: 16.28 MB / 0.7986 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.2982, allocations: 5.773 MB / 0.8042 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.2997, allocations: 35.94 kB / 0.8043 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.3039, allocations: 1.439 MB / 0.8057 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.3063, allocations: 0.7787 MB / 0.8064 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.3093, allocations: 0.9474 MB / 0.8073 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006255/0.3155, allocations: 6.051 MB / 0.8133 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009426/0.325, allocations: 6.332 MB / 0.8194 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.3276, allocations: 1.457 MB / 0.8209 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.3311, allocations: 2.151 MB / 0.823 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.3323, allocations: 292 kB / 0.8232 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.3349, allocations: 1.104 MB / 0.8243 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002398/0.3373, allocations: 1.532 MB / 0.8258 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003048/0.3404, allocations: 1.467 MB / 0.8272 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006494/0.3469, allocations: 5.968 MB / 0.8331 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3469, allocations: 3.938 kB / 0.8331 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.347, allocations: 4 kB / 0.8331 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001646/0.3471, allocations: 0 / 0.8331 GB, free: 10.18 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.007072/0.3542, allocations: 2.759 MB / 0.8358 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3543, allocations: 11.97 kB / 0.8358 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.3576, allocations: 0.6652 MB / 0.8364 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.3608, allocations: 1.427 MB / 0.8378 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.3611, allocations: 206 kB / 0.838 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000626/0.3617, allocations: 272.4 kB / 0.8383 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/0.3707, allocations: 4.715 MB / 0.8429 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/0.3707, allocations: 7.938 kB / 0.8429 GB, free: 15.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.3711, allocations: 112 kB / 0.843 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/0.3712, allocations: 148.6 kB / 0.8431 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/0.3778, allocations: 4.085 MB / 0.8471 GB, free: 11.57 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/0.4001, allocations: 20.29 MB / 0.867 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.4031, allocations: 1.905 MB / 0.8688 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.4042, allocations: 0.7626 MB / 0.8696 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4044, allocations: 101.7 kB / 0.8697 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4044, allocations: 43.22 kB / 0.8697 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.164e-06/0.4044, allocations: 0 / 0.8697 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.0173/0.4217, allocations: 5.189 MB / 0.8748 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.4218, allocations: 137.5 kB / 0.8749 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.423, allocations: 0.9723 MB / 0.8758 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.423, allocations: 41.7 kB / 0.8759 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.4237, allocations: 1.191 MB / 0.877 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.4239, allocations: 323.5 kB / 0.8774 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004773/0.4244, allocations: 363.2 kB / 0.8777 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4245, allocations: 330 kB / 0.878 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.4257, allocations: 0.8753 MB / 0.8789 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.4274, allocations: 1.514 MB / 0.8803 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.4302, allocations: 2.457 MB / 0.8827 GB, free: 4.258 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4302, allocations: 4 kB / 0.8828 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003621/0.4339, allocations: 2.508 MB / 0.8852 GB, free: 1.742 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.4339, allocations: 16.03 kB / 0.8852 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.4339, allocations: 24 kB / 0.8852 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.434, allocations: 28 kB / 0.8853 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.4363, allocations: 0.5226 MB / 0.8858 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.765e-05/0.4364, allocations: 39.86 kB / 0.8858 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4374, allocations: 159.5 kB / 0.886 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.4376, allocations: 87.98 kB / 0.8861 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002539/0.4401, allocations: 1.902 MB / 0.8879 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001603/0.4417, allocations: 1.499 MB / 0.8894 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002717/0.4444, allocations: 2.43 MB / 0.8917 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.578e-06/0.4445, allocations: 8 kB / 0.8918 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003649/0.4481, allocations: 2.488 MB / 0.8942 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.4482, allocations: 12 kB / 0.8942 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.4482, allocations: 24 kB / 0.8942 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.4482, allocations: 28 kB / 0.8942 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.4505, allocations: 0.507 MB / 0.8947 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.584e-05/0.4506, allocations: 51.78 kB / 0.8948 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4516, allocations: 151.8 kB / 0.8949 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4517, allocations: 87.97 kB / 0.895 GB, free: 7.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003815/0.4521, allocations: 287.6 kB / 0.8953 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.4523, allocations: 94.88 kB / 0.8954 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.4551, allocations: 1.836 MB / 0.8972 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4551, allocations: 8 kB / 0.8972 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4551, allocations: 3.938 kB / 0.8972 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4552, allocations: 7.984 kB / 0.8972 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009904/0.4651, allocations: 9.038 MB / 0.906 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.4651, allocations: 12 kB / 0.906 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4662, allocations: 247.6 kB / 0.9063 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.649e-05/0.4662, allocations: 16 kB / 0.9063 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.035e-05/0.4663, allocations: 31.98 kB / 0.9063 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.729e-05/0.4663, allocations: 24.38 kB / 0.9063 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.4663, allocations: 23.88 kB / 0.9064 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.4682, allocations: 1.762 MB / 0.9081 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.4687, allocations: 292 kB / 0.9084 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.4688, allocations: 27.94 kB / 0.9084 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006979/0.4695, allocations: 75.89 kB / 0.9085 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.4697, allocations: 91.61 kB / 0.9085 GB, free: 8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.4697, allocations: 36 kB / 0.9086 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000867/0.4706, allocations: 0.7293 MB / 0.9093 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4706, allocations: 0 / 0.9093 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002572/0.4732, allocations: 0.8047 MB / 0.9101 GB, free: 6.434 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.4734, allocations: 166.9 kB / 0.9102 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004178/0.4776, allocations: 2.971 MB / 0.9131 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4777, allocations: 0 / 0.9131 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.4784, allocations: 0.5843 MB / 0.9137 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.4798, allocations: 174.1 kB / 0.9139 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3882/0.868, allocations: 5.535 MB / 0.9193 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003275/0.8713, allocations: 2.111 MB / 0.9213 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002823/0.8742, allocations: 1.022 MB / 0.9223 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.8745, allocations: 95.27 kB / 0.9224 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/0.8745, allocations: 0 / 0.9224 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.02894/0.9035, allocations: 14.22 MB / 0.9363 GB, free: 124.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)