Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.005011/0.005011, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001227/0.001227, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.193/1.193, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6105/0.6105, allocations: 115.3 MB / 405.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 64.77 kB / 493 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1187, allocations: 76.18 MB / 0.5559 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005188/0.1239, allocations: 4.901 MB / 0.5606 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.1272, allocations: 2.503 MB / 0.5631 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1274, allocations: 23.81 kB / 0.5631 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.1283, allocations: 354.5 kB / 0.5634 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006729/0.129, allocations: 414 kB / 0.5638 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.1297, allocations: 370.5 kB / 0.5642 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.1307, allocations: 1.136 MB / 0.5653 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/0.1313, allocations: 355.5 kB / 0.5656 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.1316, allocations: 310.5 kB / 0.5659 GB, free: 316 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.132, allocations: 354.4 kB / 0.5663 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.1321, allocations: 24 kB / 0.5663 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.1327, allocations: 499 kB / 0.5668 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1329, allocations: 175.4 kB / 0.5669 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1332, allocations: 306.2 kB / 0.5672 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.1339, allocations: 0.8953 MB / 0.5681 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.134, allocations: 0 / 0.5681 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.134, allocations: 0 / 0.5681 GB, free: 14.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.134, allocations: 0 / 0.5681 GB, free: 14.08 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001173/0.1352, allocations: 0.9501 MB / 0.569 GB, free: 13.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1352, allocations: 15.97 kB / 0.569 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.1353, allocations: 90.69 kB / 0.5691 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.1364, allocations: 203.9 kB / 0.5693 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.137, allocations: 0.4944 MB / 0.5698 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.137, allocations: 33.38 kB / 0.5698 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.1371, allocations: 44.36 kB / 0.5699 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009361/0.138, allocations: 0.8483 MB / 0.5707 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.138, allocations: 11.84 kB / 0.5707 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.1381, allocations: 23.98 kB / 0.5707 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/0.1382, allocations: 64.95 kB / 0.5708 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.1389, allocations: 0.5695 MB / 0.5714 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.1425, allocations: 5.651 MB / 0.5769 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.1431, allocations: 462.2 kB / 0.5773 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1434, allocations: 224.7 kB / 0.5775 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1434, allocations: 8 kB / 0.5775 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1434, allocations: 34.56 kB / 0.5776 GB, free: 3.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.803e-06/0.1434, allocations: 3.938 kB / 0.5776 GB, free: 3.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002192/0.1456, allocations: 1.508 MB / 0.5791 GB, free: 2.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.1457, allocations: 59.69 kB / 0.5791 GB, free: 2.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.1461, allocations: 0.4991 MB / 0.5796 GB, free: 1.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1461, allocations: 29.7 kB / 0.5796 GB, free: 1.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1463, allocations: 358.8 kB / 0.58 GB, free: 1.129 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.1464, allocations: 118.3 kB / 0.5801 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1465, allocations: 114.2 kB / 0.5802 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1467, allocations: 362.8 kB / 0.5805 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1469, allocations: 197.2 kB / 0.5807 GB, free: 344 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2058/0.3528, allocations: 439.7 kB / 0.5811 GB, free: 32.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007373/0.3535, allocations: 0.6908 MB / 0.5818 GB, free: 31.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.3535, allocations: 3.531 kB / 0.5818 GB, free: 31.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001193/0.3547, allocations: 0.8144 MB / 0.5826 GB, free: 31.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3548, allocations: 12.38 kB / 0.5826 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3548, allocations: 11.16 kB / 0.5826 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/0.3552, allocations: 149.1 kB / 0.5828 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.3557, allocations: 121.9 kB / 0.5829 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.3577, allocations: 4.038 MB / 0.5868 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.358, allocations: 33.75 kB / 0.5869 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.3581, allocations: 30.5 kB / 0.5869 GB, free: 27.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002005/0.3583, allocations: 216.8 kB / 0.5871 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.3584, allocations: 61.09 kB / 0.5872 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009141/0.3593, allocations: 0.6029 MB / 0.5878 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3593, allocations: 3.922 kB / 0.5878 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3593, allocations: 1.812 kB / 0.5878 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3593, allocations: 6.609 kB / 0.5878 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.3609, allocations: 1.256 MB / 0.589 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3609, allocations: 2.281 kB / 0.589 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3612, allocations: 58.36 kB / 0.5891 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003815/0.3616, allocations: 135.5 kB / 0.5892 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.3616, allocations: 19.78 kB / 0.5892 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3637, allocations: 4.023 MB / 0.5931 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3637, allocations: 2.094 kB / 0.5931 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.3646, allocations: 0.716 MB / 0.5938 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3648, allocations: 165.7 kB / 0.594 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.3648, allocations: 8.266 kB / 0.594 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3651, allocations: 22.73 kB / 0.594 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.3652, allocations: 31.72 kB / 0.5941 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.3652, allocations: 11.66 kB / 0.5941 GB, free: 22.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003597/0.3655, allocations: 344.5 kB / 0.5944 GB, free: 21.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3656, allocations: 0.7812 kB / 0.5944 GB, free: 21.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005826/0.3661, allocations: 142.9 kB / 0.5945 GB, free: 21.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001092/0.3672, allocations: 1.263 MB / 0.5958 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3684, allocations: 1.033 MB / 0.5968 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3684, allocations: 1.125 kB / 0.5968 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.3691, allocations: 0.7353 MB / 0.5975 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.37, allocations: 187.4 kB / 0.5977 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005624/0.3756, allocations: 5.452 MB / 0.603 GB, free: 16.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.376, allocations: 0.9085 MB / 0.6039 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3763, allocations: 117.9 kB / 0.604 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3765, allocations: 196.5 kB / 0.6042 GB, free: 15.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3765, allocations: 4 kB / 0.6042 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.3992, allocations: 12.29 MB / 0.6162 GB, free: 11.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3994, allocations: 241.6 kB / 0.6164 GB, free: 11.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.201, allocations: 0 / 0.6164 GB, free: 11.11 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)