Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.001205/0.001205, allocations: 98.98 kB / 16.27 MB, free: 5.965 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.001202/0.001202, allocations: 189.9 kB / 17.2 MB, free: 5.594 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.223/1.223, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6863/0.6863, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2838, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.00507/0.2889, allocations: 4.359 MB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.2928, allocations: 3.26 MB / 0.5747 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.293, allocations: 17.03 kB / 0.5747 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2943, allocations: 0.5069 MB / 0.5752 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.2951, allocations: 392.5 kB / 0.5756 GB, free: 26.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2956, allocations: 252.3 kB / 0.5759 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.2962, allocations: 0.5888 MB / 0.5764 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006078/0.2968, allocations: 0.5276 MB / 0.5769 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.2971, allocations: 286.9 kB / 0.5772 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003328/0.2975, allocations: 279.1 kB / 0.5775 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.2976, allocations: 37.47 kB / 0.5775 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.298, allocations: 296.6 kB / 0.5778 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2982, allocations: 164.2 kB / 0.578 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2984, allocations: 228.5 kB / 0.5782 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007829/0.2992, allocations: 0.7822 MB / 0.5789 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2992, allocations: 1.375 kB / 0.5789 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2992, allocations: 0 / 0.5789 GB, free: 25.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2992, allocations: 3.438 kB / 0.579 GB, free: 25.62 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001087/0.3003, allocations: 0.7605 MB / 0.5797 GB, free: 25.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3003, allocations: 10.88 kB / 0.5797 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.047e-05/0.3004, allocations: 79.92 kB / 0.5798 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.3032, allocations: 0.6805 MB / 0.5804 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.3038, allocations: 436.9 kB / 0.5809 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3038, allocations: 27.44 kB / 0.5809 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3039, allocations: 35.3 kB / 0.5809 GB, free: 24.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.3052, allocations: 0.7806 MB / 0.5817 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3052, allocations: 3.719 kB / 0.5817 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3053, allocations: 18.39 kB / 0.5817 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3054, allocations: 39.77 kB / 0.5817 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.3072, allocations: 0.8732 MB / 0.5826 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.3101, allocations: 2.82 MB / 0.5853 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.3117, allocations: 0.5141 MB / 0.5859 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.3123, allocations: 261.9 kB / 0.5861 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/0.3124, allocations: 93.69 kB / 0.5862 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.3124, allocations: 31.97 kB / 0.5862 GB, free: 20.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3124, allocations: 0 / 0.5862 GB, free: 20.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01094/0.3234, allocations: 3.068 MB / 0.5892 GB, free: 18.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3234, allocations: 57.88 kB / 0.5893 GB, free: 18.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.3238, allocations: 401.1 kB / 0.5897 GB, free: 18.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.3238, allocations: 31.67 kB / 0.5897 GB, free: 18.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.324, allocations: 236.2 kB / 0.5899 GB, free: 18.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.324, allocations: 85.78 kB / 0.59 GB, free: 18.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.3242, allocations: 71.33 kB / 0.5901 GB, free: 18.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.3242, allocations: 349.1 kB / 0.5904 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.3251, allocations: 358.2 kB / 0.5907 GB, free: 17.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008694/0.326, allocations: 430.2 kB / 0.5911 GB, free: 17.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.3277, allocations: 0.7579 MB / 0.5919 GB, free: 17.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3277, allocations: 1.594 kB / 0.5919 GB, free: 17.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004384/0.3321, allocations: 1.492 MB / 0.5933 GB, free: 15.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3321, allocations: 8 kB / 0.5934 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3321, allocations: 0 / 0.5934 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00307/0.3352, allocations: 0.7702 MB / 0.5941 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.3358, allocations: 131.8 kB / 0.5942 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/0.3412, allocations: 4.842 MB / 0.599 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.342, allocations: 111.9 kB / 0.5991 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.3421, allocations: 19.98 kB / 0.5991 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001093/0.3432, allocations: 0.5271 MB / 0.5996 GB, free: 8.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008223/0.344, allocations: 412.2 kB / 0.6 GB, free: 8.508 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001574/0.3456, allocations: 0.7375 MB / 0.6007 GB, free: 7.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.023e-06/0.3456, allocations: 0 / 0.6007 GB, free: 7.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003736/0.3493, allocations: 1.27 MB / 0.602 GB, free: 6.461 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3494, allocations: 4 kB / 0.602 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.3494, allocations: 4 kB / 0.602 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/0.3514, allocations: 0.5003 MB / 0.6024 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.352, allocations: 135.8 kB / 0.6026 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/0.3546, allocations: 2.606 MB / 0.6051 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.3554, allocations: 107.9 kB / 0.6052 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3554, allocations: 20 kB / 0.6052 GB, free: 2.945 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3555, allocations: 204.9 kB / 0.6054 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.3556, allocations: 31.62 kB / 0.6055 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.3596, allocations: 1.361 MB / 0.6068 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3596, allocations: 4 kB / 0.6068 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3596, allocations: 4 kB / 0.6068 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3597, allocations: 3.938 kB / 0.6068 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.3642, allocations: 1.983 MB / 0.6087 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3642, allocations: 4.031 kB / 0.6088 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.3645, allocations: 75.84 kB / 0.6088 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.3675, allocations: 0.7116 MB / 0.6095 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.3675, allocations: 7.938 kB / 0.6095 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/0.3729, allocations: 4.674 MB / 0.6141 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.373, allocations: 0 / 0.6141 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.377, allocations: 1.364 MB / 0.6154 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3772, allocations: 160.6 kB / 0.6156 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.3773, allocations: 8 kB / 0.6156 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005818/0.3779, allocations: 91.84 kB / 0.6157 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.378, allocations: 23.97 kB / 0.6157 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3781, allocations: 12 kB / 0.6157 GB, free: 7.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.3785, allocations: 307.1 kB / 0.616 GB, free: 7.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3785, allocations: 0 / 0.616 GB, free: 7.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008245/0.3793, allocations: 204 kB / 0.6162 GB, free: 7.301 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004452/0.3838, allocations: 1.914 MB / 0.6181 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.3874, allocations: 1.59 MB / 0.6196 GB, free: 3.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3874, allocations: 8.125 kB / 0.6196 GB, free: 3.707 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.3886, allocations: 0.626 MB / 0.6202 GB, free: 3.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.3892, allocations: 126.1 kB / 0.6204 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/0.4038, allocations: 6.563 MB / 0.6268 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.4043, allocations: 0.9171 MB / 0.6277 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005596/0.4049, allocations: 151.2 kB / 0.6278 GB, free: 11.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.4051, allocations: 135.4 kB / 0.6279 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4052, allocations: 0 / 0.6279 GB, free: 11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/0.459, allocations: 16.3 MB / 0.6438 GB, free: 10.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.17, allocations: 2.234 kB / 0.6438 GB, free: 10.93 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)