Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001608/0.001608, allocations: 101.6 kB / 16.39 MB, free: 6.383 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.001709/0.001709, allocations: 193.1 kB / 17.33 MB, free: 5.844 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.554/1.554, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00259/0.00259, allocations: 284.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.155/1.155, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 91.86 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4285, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02129/0.4498, allocations: 16.43 MB / 0.7831 GB, free: 3.402 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009446/0.4592, allocations: 5.744 MB / 0.7887 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.4603, allocations: 39.94 kB / 0.7888 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.4644, allocations: 1.559 MB / 0.7903 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.4665, allocations: 0.8365 MB / 0.7911 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.4692, allocations: 1.054 MB / 0.7921 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.474, allocations: 3.91 MB / 0.7959 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/0.4792, allocations: 4.177 MB / 0.8 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.4816, allocations: 1.757 MB / 0.8017 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.4843, allocations: 2.096 MB / 0.8038 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005416/0.4849, allocations: 416 kB / 0.8042 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.4867, allocations: 1.065 MB / 0.8052 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.4884, allocations: 1.699 MB / 0.8069 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001964/0.4904, allocations: 1.6 MB / 0.8084 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006457/0.4968, allocations: 6.073 MB / 0.8144 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4968, allocations: 0 / 0.8144 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4968, allocations: 4 kB / 0.8144 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.589e-05/0.4969, allocations: 0 / 0.8144 GB, free: 3.219 MB / 0.5762 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.006204/0.5031, allocations: 2.828 MB / 0.8171 GB, free: 336 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5032, allocations: 8.031 kB / 0.8171 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.5066, allocations: 0.6744 MB / 0.8178 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.5098, allocations: 1.446 MB / 0.8192 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.5099, allocations: 210 kB / 0.8194 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000473/0.5104, allocations: 272.3 kB / 0.8197 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/0.5182, allocations: 4.719 MB / 0.8243 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.5183, allocations: 0 / 0.8243 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.5186, allocations: 108 kB / 0.8244 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.5188, allocations: 160.6 kB / 0.8245 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006642/0.5254, allocations: 4.081 MB / 0.8285 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/0.5515, allocations: 20.15 MB / 0.8482 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.5549, allocations: 1.88 MB / 0.85 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.556, allocations: 0.7587 MB / 0.8508 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.5562, allocations: 109.7 kB / 0.8509 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5562, allocations: 43.22 kB / 0.8509 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 2.655e-06/0.5562, allocations: 3.938 kB / 0.8509 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.01884/0.5751, allocations: 5.286 MB / 0.8561 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.5752, allocations: 145.5 kB / 0.8562 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.5764, allocations: 0.9765 MB / 0.8572 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.5765, allocations: 41.7 kB / 0.8572 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008337/0.5773, allocations: 1.227 MB / 0.8584 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.5777, allocations: 353.1 kB / 0.8588 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/0.5782, allocations: 359.3 kB / 0.8591 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5784, allocations: 326 kB / 0.8594 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.5797, allocations: 0.8792 MB / 0.8603 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.5816, allocations: 1.51 MB / 0.8617 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.5848, allocations: 2.453 MB / 0.8641 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.5848, allocations: 8 kB / 0.8642 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003889/0.5887, allocations: 2.52 MB / 0.8666 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.5887, allocations: 12 kB / 0.8666 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.5887, allocations: 20 kB / 0.8666 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.806e-05/0.5888, allocations: 32 kB / 0.8667 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/0.5912, allocations: 0.5154 MB / 0.8672 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-05/0.5913, allocations: 47.8 kB / 0.8672 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5923, allocations: 155.7 kB / 0.8674 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.5924, allocations: 87.98 kB / 0.8675 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00294/0.5954, allocations: 1.903 MB / 0.8693 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001824/0.5972, allocations: 1.491 MB / 0.8708 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003201/0.6004, allocations: 2.434 MB / 0.8731 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-05/0.6004, allocations: 8 kB / 0.8732 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003961/0.6044, allocations: 2.496 MB / 0.8756 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6044, allocations: 12 kB / 0.8756 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.6044, allocations: 20.91 kB / 0.8756 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.6045, allocations: 32 kB / 0.8757 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.6069, allocations: 0.5148 MB / 0.8762 GB, free: 324 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.322e-05/0.6069, allocations: 47.8 kB / 0.8762 GB, free: 276 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.608, allocations: 139.8 kB / 0.8763 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6081, allocations: 95.97 kB / 0.8764 GB, free: 40 kB / 0.6387 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.0004678/0.6086, allocations: 291.6 kB / 0.8767 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.6088, allocations: 95.44 kB / 0.8768 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.6117, allocations: 1.833 MB / 0.8786 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.6118, allocations: 8 kB / 0.8786 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6118, allocations: 3.938 kB / 0.8786 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6118, allocations: 11.92 kB / 0.8786 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.6239, allocations: 9.047 MB / 0.8874 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.624, allocations: 19.92 kB / 0.8875 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.6251, allocations: 251.6 kB / 0.8877 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.6251, allocations: 12 kB / 0.8877 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.6252, allocations: 32.59 kB / 0.8877 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.806e-05/0.6252, allocations: 23.92 kB / 0.8878 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.616e-05/0.6252, allocations: 19.88 kB / 0.8878 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.6275, allocations: 1.776 MB / 0.8895 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.628, allocations: 292.4 kB / 0.8898 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6282, allocations: 28 kB / 0.8898 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007294/0.6289, allocations: 71.89 kB / 0.8899 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.629, allocations: 87.62 kB / 0.89 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.6291, allocations: 47.98 kB / 0.89 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001014/0.6301, allocations: 0.7215 MB / 0.8907 GB, free: 176 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6301, allocations: 0 / 0.8907 GB, free: 176 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002961/0.6331, allocations: 0.8124 MB / 0.8915 GB, free: 15.36 MB / 0.67 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.0003441/0.6334, allocations: 166.9 kB / 0.8917 GB, free: 15.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004717/0.6381, allocations: 2.846 MB / 0.8945 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.6382, allocations: 0 / 0.8945 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008567/0.639, allocations: 0.553 MB / 0.895 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6406, allocations: 185.7 kB / 0.8952 GB, free: 11.62 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/0.6486, allocations: 4.468 MB / 0.8995 GB, free: 6.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/0.6508, allocations: 2.105 MB / 0.9016 GB, free: 4.84 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00249/0.6533, allocations: 1.023 MB / 0.9026 GB, free: 3.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.6537, allocations: 95.41 kB / 0.9027 GB, free: 3.719 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/0.6537, allocations: 0 / 0.9027 GB, free: 3.719 MB / 0.67 GB Notification: Performance of Templates: time 0.03027/0.6839, allocations: 15.33 MB / 0.9177 GB, free: 4.516 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)