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.0008616/0.0008617, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005507/0.005507, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000501/0.000501, allocations: 13.72 kB / 0.6744 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2004, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03471/0.2351, allocations: 33.87 MB / 0.8211 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2503, allocations: 9.903 MB / 0.8308 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.2527, allocations: 127.2 kB / 0.8309 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.2542, allocations: 0.7016 MB / 0.8316 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.2582, allocations: 1.913 MB / 0.8334 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00318/0.2614, allocations: 1.61 MB / 0.835 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009536/0.271, allocations: 11.19 MB / 0.8459 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/0.2865, allocations: 12.15 MB / 0.8578 GB, free: 3.707 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.2901, allocations: 2.423 MB / 0.8602 GB, free: 1.273 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.2939, allocations: 3.199 MB / 0.8633 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005196/0.2945, allocations: 280 kB / 0.8636 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.2967, allocations: 1.26 MB / 0.8648 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.2986, allocations: 2.112 MB / 0.8668 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.3012, allocations: 2.528 MB / 0.8693 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008256/0.3095, allocations: 9.862 MB / 0.8789 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3095, allocations: 0 / 0.8789 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3095, allocations: 0 / 0.8789 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001511/0.3096, allocations: 0 / 0.8789 GB, free: 13.97 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.00732/0.317, allocations: 4.36 MB / 0.8832 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.317, allocations: 12.03 kB / 0.8832 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008494/0.3179, allocations: 0.7023 MB / 0.8839 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.3219, allocations: 0.9665 MB / 0.8848 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.3259, allocations: 2.991 MB / 0.8878 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.3262, allocations: 357.9 kB / 0.8881 GB, free: 4.445 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006281/0.3268, allocations: 468.3 kB / 0.8886 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.3373, allocations: 7.918 MB / 0.8963 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-05/0.3374, allocations: 15.88 kB / 0.8963 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004286/0.3378, allocations: 208 kB / 0.8965 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004417/0.3382, allocations: 369 kB / 0.8969 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.3489, allocations: 5.937 MB / 0.9026 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3701/0.719, allocations: 36.26 MB / 0.9381 GB, free: 106 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.7219, allocations: 2.138 MB / 0.9401 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.7236, allocations: 1.488 MB / 0.9416 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.7237, allocations: 18.56 kB / 0.9416 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.7237, allocations: 53.47 kB / 0.9417 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/0.7238, allocations: 0 / 0.9417 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01251/0.7363, allocations: 7.575 MB / 0.9491 GB, free: 102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.7363, allocations: 71.91 kB / 0.9491 GB, free: 102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.7398, allocations: 1.862 MB / 0.9509 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.74, allocations: 59.5 kB / 0.951 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.7411, allocations: 2.121 MB / 0.9531 GB, free: 99.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.7415, allocations: 0.5575 MB / 0.9536 GB, free: 99.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.7417, allocations: 171.2 kB / 0.9538 GB, free: 99.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.7418, allocations: 310.2 kB / 0.9541 GB, free: 98.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.7433, allocations: 1.061 MB / 0.9551 GB, free: 98.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.7451, allocations: 1.765 MB / 0.9568 GB, free: 97.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.7482, allocations: 3.048 MB / 0.9598 GB, free: 95.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.7482, allocations: 6.875 kB / 0.9598 GB, free: 95.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00569/0.7539, allocations: 3.926 MB / 0.9637 GB, free: 93.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.7539, allocations: 14.56 kB / 0.9637 GB, free: 93.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.754, allocations: 21.44 kB / 0.9637 GB, free: 93.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.7561, allocations: 0.927 MB / 0.9646 GB, free: 93.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.7575, allocations: 428.1 kB / 0.965 GB, free: 93.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.7711, allocations: 21.08 MB / 0.9856 GB, free: 74.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.7731, allocations: 130.4 kB / 0.9857 GB, free: 74.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.7732, allocations: 95.22 kB / 0.9858 GB, free: 74.16 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.00212/0.7753, allocations: 1.652 MB / 0.9874 GB, free: 73.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.7756, allocations: 250.8 kB / 0.9877 GB, free: 73.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.78, allocations: 3.266 MB / 0.9908 GB, free: 71.05 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.78, allocations: 20.5 kB / 0.9909 GB, free: 71.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.78, allocations: 9.094 kB / 0.9909 GB, free: 71.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.7801, allocations: 11.66 kB / 0.9909 GB, free: 71.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008605/0.7887, allocations: 7.546 MB / 0.9983 GB, free: 66.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.7887, allocations: 7.484 kB / 0.9983 GB, free: 66.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007986/0.7895, allocations: 214.8 kB / 0.9985 GB, free: 66.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.7914, allocations: 0.8999 MB / 0.9993 GB, free: 65.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.7915, allocations: 31.41 kB / 0.9994 GB, free: 65.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01283/0.8043, allocations: 21.04 MB / 1.02 GB, free: 44.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.8044, allocations: 4.188 kB / 1.02 GB, free: 44.67 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.8086, allocations: 3.388 MB / 1.023 GB, free: 41.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.8094, allocations: 0.537 MB / 1.024 GB, free: 40.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/0.8096, allocations: 32 kB / 1.024 GB, free: 40.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.8106, allocations: 95.88 kB / 1.024 GB, free: 40.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.8109, allocations: 133 kB / 1.024 GB, free: 40.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.811, allocations: 48 kB / 1.024 GB, free: 40.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001241/0.8122, allocations: 1.225 MB / 1.025 GB, free: 39.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.82e-07/0.8122, allocations: 0 / 1.025 GB, free: 39.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002393/0.8146, allocations: 0.9101 MB / 1.026 GB, free: 38.16 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.004044/0.8187, allocations: 3.984 MB / 1.03 GB, free: 34.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.8235, allocations: 4.42 MB / 1.034 GB, free: 29.49 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.8236, allocations: 0 / 1.034 GB, free: 29.49 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.8266, allocations: 3.006 MB / 1.037 GB, free: 26.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/0.8308, allocations: 0.768 MB / 1.038 GB, free: 25.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/0.8657, allocations: 29.51 MB / 1.067 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003337/0.8691, allocations: 3.208 MB / 1.07 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001887/0.871, allocations: 0.5293 MB / 1.07 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/0.8728, allocations: 1.655 MB / 1.072 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of SimCode: time 9.82e-07/0.8728, allocations: 0 / 1.072 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09797/0.9708, allocations: 68.29 MB / 1.139 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.971, allocations: 248.2 kB / 1.139 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.01, allocations: 0 / 1.139 GB, free: 0.6133 MB / 0.8106 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)