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.001551/0.001551, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001743/0.001744, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7349/0.7349, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 64.31 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006635/0.1716, allocations: 4.372 MB / 0.6359 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005111/0.1767, allocations: 3.261 MB / 0.639 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.1772, allocations: 11.94 kB / 0.6391 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1789, allocations: 0.5017 MB / 0.6395 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.1801, allocations: 396.6 kB / 0.6399 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007419/0.1808, allocations: 243.4 kB / 0.6402 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008595/0.1817, allocations: 0.5995 MB / 0.6407 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006882/0.1824, allocations: 0.5198 MB / 0.6412 GB, free: 11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.183, allocations: 291.1 kB / 0.6415 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.1835, allocations: 283 kB / 0.6418 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.1836, allocations: 40 kB / 0.6418 GB, free: 10.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005899/0.1842, allocations: 295.5 kB / 0.6421 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1844, allocations: 163.5 kB / 0.6423 GB, free: 9.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1847, allocations: 227 kB / 0.6425 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.1857, allocations: 0.7914 MB / 0.6433 GB, free: 8.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1857, allocations: 0 / 0.6433 GB, free: 8.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1857, allocations: 0 / 0.6433 GB, free: 8.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.1857, allocations: 0 / 0.6433 GB, free: 8.938 MB / 494.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.001517/0.1872, allocations: 0.7714 MB / 0.644 GB, free: 8.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1873, allocations: 19.91 kB / 0.644 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.701e-05/0.1874, allocations: 70.72 kB / 0.6441 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.1904, allocations: 0.6867 MB / 0.6448 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.1912, allocations: 447.8 kB / 0.6452 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1912, allocations: 21.03 kB / 0.6452 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.1913, allocations: 31.94 kB / 0.6452 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.1929, allocations: 0.7903 MB / 0.646 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.193, allocations: 0 / 0.646 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.193, allocations: 16 kB / 0.646 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.1931, allocations: 40.61 kB / 0.6461 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.1952, allocations: 0.8725 MB / 0.6469 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.1992, allocations: 2.812 MB / 0.6497 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.2009, allocations: 0.5097 MB / 0.6502 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.2017, allocations: 256.6 kB / 0.6504 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.2018, allocations: 93.09 kB / 0.6505 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.2018, allocations: 30.56 kB / 0.6505 GB, free: 1.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.2018, allocations: 0 / 0.6505 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01181/0.2137, allocations: 3.066 MB / 0.6535 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2137, allocations: 59.41 kB / 0.6536 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.2142, allocations: 401.5 kB / 0.654 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2142, allocations: 33.7 kB / 0.654 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.2144, allocations: 235.8 kB / 0.6542 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/0.2145, allocations: 78.83 kB / 0.6543 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.2146, allocations: 69.67 kB / 0.6544 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2147, allocations: 346.8 kB / 0.6547 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009639/0.2157, allocations: 364.4 kB / 0.655 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.2168, allocations: 425.7 kB / 0.6554 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.2188, allocations: 0.752 MB / 0.6562 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2188, allocations: 4 kB / 0.6562 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005016/0.2238, allocations: 1.5 MB / 0.6576 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2239, allocations: 4 kB / 0.6577 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2239, allocations: 8.188 kB / 0.6577 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/0.2274, allocations: 0.7701 MB / 0.6584 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.2281, allocations: 131.8 kB / 0.6585 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.2349, allocations: 4.848 MB / 0.6633 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.2357, allocations: 111.8 kB / 0.6634 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.2358, allocations: 11.98 kB / 0.6634 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001242/0.237, allocations: 0.5349 MB / 0.6639 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000981/0.238, allocations: 420 kB / 0.6643 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001895/0.24, allocations: 0.7295 MB / 0.665 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.24, allocations: 0 / 0.665 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004222/0.2442, allocations: 1.27 MB / 0.6663 GB, free: 472 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2442, allocations: 9.562 kB / 0.6663 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2442, allocations: 0 / 0.6663 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.2465, allocations: 0.4923 MB / 0.6668 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.2471, allocations: 143.8 kB / 0.6669 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.2506, allocations: 2.604 MB / 0.6694 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008123/0.2514, allocations: 111.8 kB / 0.6695 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.2515, allocations: 12 kB / 0.6696 GB, free: 12.95 MB / 0.5137 GB 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.0002351/0.2517, allocations: 212.3 kB / 0.6698 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2519, allocations: 31.77 kB / 0.6698 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004502/0.2564, allocations: 1.36 MB / 0.6711 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2564, allocations: 4 kB / 0.6711 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2564, allocations: 0 / 0.6711 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2564, allocations: 0 / 0.6711 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.2617, allocations: 1.995 MB / 0.6731 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2617, allocations: 7.938 kB / 0.6731 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/0.2621, allocations: 79.91 kB / 0.6732 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003036/0.2652, allocations: 0.7039 MB / 0.6738 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.2652, allocations: 11.94 kB / 0.6738 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/0.271, allocations: 4.671 MB / 0.6784 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2711, allocations: 4.031 kB / 0.6784 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.2752, allocations: 1.353 MB / 0.6797 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/0.2756, allocations: 160.7 kB / 0.6799 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.2757, allocations: 7.906 kB / 0.6799 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.2763, allocations: 91.78 kB / 0.68 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.2765, allocations: 19.97 kB / 0.68 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.2765, allocations: 12 kB / 0.68 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004968/0.277, allocations: 315 kB / 0.6803 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.277, allocations: 0 / 0.6803 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009382/0.278, allocations: 200 kB / 0.6805 GB, free: 1.305 MB / 0.5137 GB 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.004555/0.2825, allocations: 1.913 MB / 0.6824 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004024/0.2866, allocations: 1.574 MB / 0.6839 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2866, allocations: 0 / 0.6839 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.2878, allocations: 0.6273 MB / 0.6845 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/0.2886, allocations: 130 kB / 0.6846 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.3044, allocations: 6.528 MB / 0.691 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.305, allocations: 0.9132 MB / 0.6919 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005182/0.3055, allocations: 151.2 kB / 0.6921 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.3058, allocations: 135.4 kB / 0.6922 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of SimCode: time 1.673e-06/0.3058, allocations: 0 / 0.6922 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0438/0.3496, allocations: 16.71 MB / 0.7085 GB, free: 4.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.65, allocations: 5 kB / 0.7085 GB, free: 4.543 MB / 0.545 GB (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)