Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.0009736/0.0009774, allocations: 90.67 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.00806/0.00806, allocations: 172.4 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.29/1.29, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.529/1.529, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004653/0.0004653, allocations: 17.73 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1802, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01021/0.1904, allocations: 10.53 MB / 0.7983 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007564/0.198, allocations: 5.81 MB / 0.804 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.1987, allocations: 43.69 kB / 0.804 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.1992, allocations: 241.9 kB / 0.8042 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.2011, allocations: 1.066 MB / 0.8053 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2026, allocations: 0.7396 MB / 0.806 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.2051, allocations: 2.856 MB / 0.8088 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003578/0.2086, allocations: 2.354 MB / 0.8111 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.2096, allocations: 0.6999 MB / 0.8118 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008879/0.2105, allocations: 0.848 MB / 0.8126 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2106, allocations: 60 kB / 0.8126 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.2127, allocations: 1.434 MB / 0.814 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.2131, allocations: 466.5 kB / 0.8145 GB, free: 224 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005807/0.2137, allocations: 0.7359 MB / 0.8152 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.2158, allocations: 2.406 MB / 0.8176 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2158, allocations: 0 / 0.8176 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2158, allocations: 0 / 0.8176 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.2159, allocations: 0 / 0.8176 GB, free: 13.06 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002122/0.218, allocations: 1.607 MB / 0.8191 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.218, allocations: 8.031 kB / 0.8191 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002048/0.2182, allocations: 215.4 kB / 0.8193 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/0.2222, allocations: 0.6737 MB / 0.82 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2234, allocations: 0.9146 MB / 0.8209 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.2235, allocations: 90.91 kB / 0.821 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.2237, allocations: 128.3 kB / 0.8211 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.2264, allocations: 2.206 MB / 0.8233 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.2264, allocations: 11.88 kB / 0.8233 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.2265, allocations: 59.98 kB / 0.8233 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.2267, allocations: 162.3 kB / 0.8235 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.2292, allocations: 1.867 MB / 0.8253 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009865/0.2391, allocations: 12.49 MB / 0.8375 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003785/0.2429, allocations: 1.963 MB / 0.8394 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.2437, allocations: 0.605 MB / 0.84 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.2438, allocations: 102.1 kB / 0.8401 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2438, allocations: 47.5 kB / 0.8402 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/0.2438, allocations: 0 / 0.8402 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.005217/0.2491, allocations: 3.726 MB / 0.8438 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2491, allocations: 64.41 kB / 0.8439 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009129/0.25, allocations: 0.9203 MB / 0.8448 GB, free: 15.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.2501, allocations: 45.7 kB / 0.8448 GB, free: 15.62 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.2505, allocations: 0.7237 MB / 0.8455 GB, free: 14.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.2508, allocations: 390.4 kB / 0.8459 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.251, allocations: 125.7 kB / 0.846 GB, free: 14.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.251, allocations: 305.1 kB / 0.8463 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/0.2519, allocations: 0.6129 MB / 0.8469 GB, free: 13.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.253, allocations: 1.102 MB / 0.848 GB, free: 12.14 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.255, allocations: 1.832 MB / 0.8497 GB, free: 10.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.255, allocations: 11.88 kB / 0.8498 GB, free: 10.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002951/0.258, allocations: 2.104 MB / 0.8518 GB, free: 7.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.258, allocations: 12 kB / 0.8518 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.258, allocations: 16 kB / 0.8518 GB, free: 7.918 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007118/0.2588, allocations: 262.7 kB / 0.8521 GB, free: 7.637 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.2599, allocations: 375.4 kB / 0.8525 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.2672, allocations: 10.76 MB / 0.863 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.2682, allocations: 123.8 kB / 0.8631 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.2683, allocations: 75.98 kB / 0.8632 GB, free: 11.25 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005492/0.2689, allocations: 405.3 kB / 0.8635 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.269, allocations: 130.4 kB / 0.8637 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.2716, allocations: 1.677 MB / 0.8653 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2716, allocations: 12 kB / 0.8653 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2716, allocations: 4 kB / 0.8653 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2717, allocations: 7.984 kB / 0.8653 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.2759, allocations: 3.287 MB / 0.8685 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2759, allocations: 4 kB / 0.8685 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.2767, allocations: 219.6 kB / 0.8687 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/0.2773, allocations: 251.2 kB / 0.869 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/0.2774, allocations: 27.98 kB / 0.869 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.2843, allocations: 10.76 MB / 0.8795 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2844, allocations: 4 kB / 0.8795 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.2866, allocations: 1.8 MB / 0.8813 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.287, allocations: 319.4 kB / 0.8816 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2872, allocations: 24 kB / 0.8816 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006536/0.2878, allocations: 99.81 kB / 0.8817 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.288, allocations: 100.7 kB / 0.8818 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.288, allocations: 36 kB / 0.8818 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006515/0.2887, allocations: 0.6177 MB / 0.8824 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 0 / 0.8824 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001098/0.2898, allocations: 392 kB / 0.8828 GB, free: 5.684 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.2924, allocations: 2.386 MB / 0.8851 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.2953, allocations: 2.496 MB / 0.8876 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2953, allocations: 0 / 0.8876 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/0.2971, allocations: 1.63 MB / 0.8892 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.2992, allocations: 331.1 kB / 0.8895 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.3135, allocations: 12.61 MB / 0.9018 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008327/0.3143, allocations: 1.327 MB / 0.9031 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009046/0.3152, allocations: 355.3 kB / 0.9034 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/0.3159, allocations: 0.5383 MB / 0.904 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 6.91e-07/0.3159, allocations: 7.938 kB / 0.904 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.299/3.615, allocations: 26.72 MB / 0.9301 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/3.615, allocations: 246 kB / 0.9303 GB, free: 124.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/6.002, allocations: 4 kB / 0.9303 GB, free: 124.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)