Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001305/0.001305, allocations: 108 kB / 15.6 MB, free: 132 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.001184/0.001184, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.232/1.232, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.611/1.611, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001543/0.001543, allocations: 72.08 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1722, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03409/0.2063, allocations: 35.01 MB / 0.8177 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.2206, allocations: 10.02 MB / 0.8275 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.2229, allocations: 143.3 kB / 0.8276 GB, free: 24 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0081/0.231, allocations: 3.786 MB / 0.8313 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.2356, allocations: 2.04 MB / 0.8333 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.2397, allocations: 1.959 MB / 0.8352 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007382/0.2471, allocations: 7.986 MB / 0.843 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.2573, allocations: 9.581 MB / 0.8524 GB, free: 6.508 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.2613, allocations: 3.353 MB / 0.8556 GB, free: 3.145 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004647/0.2659, allocations: 3.734 MB / 0.8593 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009364/0.2669, allocations: 0.6797 MB / 0.8599 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.2693, allocations: 1.447 MB / 0.8614 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.2713, allocations: 2.62 MB / 0.8639 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.2738, allocations: 3.101 MB / 0.8669 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006995/0.2808, allocations: 10.31 MB / 0.877 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2809, allocations: 4 kB / 0.877 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2809, allocations: 0 / 0.877 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.185e-05/0.281, allocations: 0 / 0.877 GB, free: 13.18 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.008661/0.2896, allocations: 5.404 MB / 0.8823 GB, free: 7.707 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2897, allocations: 16.02 kB / 0.8823 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000763/0.2904, allocations: 0.7022 MB / 0.883 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/0.2944, allocations: 0.9549 MB / 0.8839 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/0.2983, allocations: 2.999 MB / 0.8869 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.2985, allocations: 353.9 kB / 0.8872 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006001/0.2992, allocations: 472.2 kB / 0.8876 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009867/0.309, allocations: 7.914 MB / 0.8954 GB, free: 9.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.571e-05/0.3091, allocations: 19.81 kB / 0.8954 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.3095, allocations: 208 kB / 0.8956 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004248/0.31, allocations: 369.1 kB / 0.8959 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00772/0.3177, allocations: 5.937 MB / 0.9017 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3132/0.6309, allocations: 36.2 MB / 0.9371 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.6336, allocations: 2.149 MB / 0.9392 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.635, allocations: 1.476 MB / 0.9406 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.6351, allocations: 17.72 kB / 0.9407 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6351, allocations: 52.59 kB / 0.9407 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.116e-06/0.6351, allocations: 2.625 kB / 0.9407 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01135/0.6465, allocations: 7.537 MB / 0.9481 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.6465, allocations: 72.98 kB / 0.9481 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.6491, allocations: 1.858 MB / 0.95 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.6492, allocations: 52.36 kB / 0.95 GB, free: 101.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009447/0.6502, allocations: 2.13 MB / 0.9521 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.6505, allocations: 0.555 MB / 0.9526 GB, free: 99.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/0.651, allocations: 408.3 kB / 0.953 GB, free: 99.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.384e-05/0.6511, allocations: 306.4 kB / 0.9533 GB, free: 99.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.6524, allocations: 1.056 MB / 0.9543 GB, free: 98.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.6539, allocations: 1.77 MB / 0.9561 GB, free: 97.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.6568, allocations: 3.048 MB / 0.959 GB, free: 95.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.6568, allocations: 7.469 kB / 0.959 GB, free: 95.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005109/0.6619, allocations: 3.912 MB / 0.9629 GB, free: 94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.662, allocations: 15.12 kB / 0.9629 GB, free: 94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.662, allocations: 22.06 kB / 0.9629 GB, free: 94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/0.664, allocations: 0.932 MB / 0.9638 GB, free: 93.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.6654, allocations: 432.9 kB / 0.9642 GB, free: 93.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.6788, allocations: 22.78 MB / 0.9865 GB, free: 72.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6805, allocations: 126.8 kB / 0.9866 GB, free: 72.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6806, allocations: 94.66 kB / 0.9867 GB, free: 72.88 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00187/0.6825, allocations: 1.649 MB / 0.9883 GB, free: 71.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.6827, allocations: 255.3 kB / 0.9885 GB, free: 71.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.6868, allocations: 3.264 MB / 0.9917 GB, free: 69.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.6868, allocations: 20.53 kB / 0.9917 GB, free: 69.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.6868, allocations: 9.812 kB / 0.9918 GB, free: 69.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6868, allocations: 7.969 kB / 0.9918 GB, free: 69.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00846/0.6953, allocations: 7.554 MB / 0.9991 GB, free: 65.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6953, allocations: 3.094 kB / 0.9991 GB, free: 65.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.6961, allocations: 216.2 kB / 0.9994 GB, free: 65.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.6979, allocations: 0.8926 MB / 1 GB, free: 64.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.698, allocations: 38.81 kB / 1 GB, free: 64.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.7109, allocations: 22.73 MB / 1.022 GB, free: 41.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.7109, allocations: 16 kB / 1.022 GB, free: 41.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.7148, allocations: 3.371 MB / 1.026 GB, free: 37.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/0.7155, allocations: 0.5254 MB / 1.026 GB, free: 37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7158, allocations: 35.98 kB / 1.026 GB, free: 36.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/0.7168, allocations: 95.89 kB / 1.026 GB, free: 36.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/0.717, allocations: 140.9 kB / 1.027 GB, free: 36.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.191e-05/0.7171, allocations: 52 kB / 1.027 GB, free: 36.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001163/0.7183, allocations: 1.221 MB / 1.028 GB, free: 35.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7183, allocations: 0 / 1.028 GB, free: 35.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002247/0.7205, allocations: 0.9023 MB / 1.029 GB, free: 34.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003964/0.7245, allocations: 3.995 MB / 1.033 GB, free: 30.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00578/0.7303, allocations: 5.196 MB / 1.038 GB, free: 25.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7303, allocations: 0 / 1.038 GB, free: 25.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002857/0.7332, allocations: 2.998 MB / 1.041 GB, free: 21.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/0.7358, allocations: 0.8185 MB / 1.041 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/0.7641, allocations: 27.54 MB / 1.068 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/0.7671, allocations: 3.207 MB / 1.071 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001491/0.7686, allocations: 0.5293 MB / 1.072 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/0.7703, allocations: 1.655 MB / 1.074 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7703, allocations: 0 / 1.074 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.493/5.263, allocations: 70.88 MB / 1.143 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/18.61, allocations: 15.06 kB / 1.143 GB, free: 11.86 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)