Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 96.27 kB / 15.69 MB, free: 480 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.001629/0.00163, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.519/1.519, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7172/0.7172, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 8 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 77.15 MB / 0.5568 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006993/0.1983, allocations: 5.196 MB / 0.5619 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004715/0.203, allocations: 2.944 MB / 0.5648 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.2036, allocations: 23.81 kB / 0.5648 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.204, allocations: 111.2 kB / 0.5649 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000967/0.2049, allocations: 346.9 kB / 0.5653 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.206, allocations: 363.2 kB / 0.5656 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.2068, allocations: 0.6492 MB / 0.5662 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.2083, allocations: 0.8976 MB / 0.5671 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.2088, allocations: 326.8 kB / 0.5674 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.2093, allocations: 342.7 kB / 0.5678 GB, free: 356 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.2093, allocations: 32 kB / 0.5678 GB, free: 324 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.2098, allocations: 207.7 kB / 0.568 GB, free: 116 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.21, allocations: 235.3 kB / 0.5682 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2102, allocations: 157.3 kB / 0.5684 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007792/0.211, allocations: 0.8378 MB / 0.5692 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.211, allocations: 0 / 0.5692 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.211, allocations: 0 / 0.5692 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.211, allocations: 0 / 0.5692 GB, free: 14.88 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001329/0.2123, allocations: 0.9053 MB / 0.5701 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2124, allocations: 16 kB / 0.5701 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.2136, allocations: 210.7 kB / 0.5703 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.2144, allocations: 0.521 MB / 0.5708 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.2144, allocations: 45.3 kB / 0.5708 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2146, allocations: 63.98 kB / 0.5709 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.2165, allocations: 1.018 MB / 0.5719 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.2165, allocations: 15.88 kB / 0.5719 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.2166, allocations: 31.98 kB / 0.5719 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.2168, allocations: 61.28 kB / 0.572 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.2183, allocations: 0.6879 MB / 0.5727 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.2233, allocations: 5.76 MB / 0.5783 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007752/0.2241, allocations: 0.5966 MB / 0.5789 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.2241, allocations: 8.625 kB / 0.5789 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2242, allocations: 46.52 kB / 0.5789 GB, free: 4.223 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/0.2242, allocations: 0 / 0.5789 GB, free: 4.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003814/0.228, allocations: 1.894 MB / 0.5808 GB, free: 2.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.228, allocations: 55.41 kB / 0.5808 GB, free: 2.168 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.2285, allocations: 454.7 kB / 0.5813 GB, free: 1.715 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2285, allocations: 33.7 kB / 0.5813 GB, free: 1.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.2288, allocations: 383.1 kB / 0.5817 GB, free: 1.297 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2289, allocations: 157.8 kB / 0.5818 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.2289, allocations: 8 kB / 0.5818 GB, free: 1.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2291, allocations: 370.7 kB / 0.5822 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.2294, allocations: 229.2 kB / 0.5824 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.2298, allocations: 441 kB / 0.5828 GB, free: 12 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3449/0.5747, allocations: 294.8 kB / 0.5831 GB, free: 32.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.5748, allocations: 2.5 kB / 0.5831 GB, free: 32.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002184/0.577, allocations: 0.9741 MB / 0.584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.577, allocations: 10.47 kB / 0.584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5771, allocations: 7.656 kB / 0.5841 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009601/0.578, allocations: 273.9 kB / 0.5843 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.5785, allocations: 103 kB / 0.5844 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007188/0.5857, allocations: 6.736 MB / 0.591 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.5863, allocations: 29.72 kB / 0.591 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.5864, allocations: 26.66 kB / 0.591 GB, free: 26.89 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003886/0.5867, allocations: 246.6 kB / 0.5913 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.5869, allocations: 58.36 kB / 0.5913 GB, free: 26.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.5888, allocations: 0.8387 MB / 0.5922 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.5888, allocations: 5.344 kB / 0.5922 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5888, allocations: 6.828 kB / 0.5922 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.5888, allocations: 3.391 kB / 0.5922 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.592, allocations: 1.707 MB / 0.5938 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.592, allocations: 1.719 kB / 0.5938 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.5923, allocations: 50.91 kB / 0.5939 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/0.5932, allocations: 246.7 kB / 0.5941 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.5933, allocations: 7.25 kB / 0.5941 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005727/0.599, allocations: 6.463 MB / 0.6004 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.599, allocations: 1.844 kB / 0.6004 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.6009, allocations: 0.9789 MB / 0.6014 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.6012, allocations: 173.4 kB / 0.6016 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.6013, allocations: 12.83 kB / 0.6016 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.6016, allocations: 27.47 kB / 0.6016 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6017, allocations: 34.02 kB / 0.6016 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.6018, allocations: 13.28 kB / 0.6016 GB, free: 18.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005509/0.6023, allocations: 303.8 kB / 0.6019 GB, free: 18.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6023, allocations: 0 / 0.6019 GB, free: 18.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001164/0.6035, allocations: 185.9 kB / 0.6021 GB, free: 18.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.6037, allocations: 117 kB / 0.6022 GB, free: 18.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.606, allocations: 1.139 MB / 0.6033 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6061, allocations: 1.25 kB / 0.6033 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.6073, allocations: 0.8069 MB / 0.6041 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6083, allocations: 180.9 kB / 0.6043 GB, free: 17.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.6112, allocations: 1.454 MB / 0.6057 GB, free: 16.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.6122, allocations: 0.9992 MB / 0.6067 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005593/0.6128, allocations: 110.7 kB / 0.6068 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6129, allocations: 36.55 kB / 0.6068 GB, free: 15.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.244e-06/0.613, allocations: 1.094 kB / 0.6068 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Templates: time 0.02217/0.6351, allocations: 8.625 MB / 0.6153 GB, free: 13.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)