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: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 117.8 kB / 17.08 MB, free: 6.012 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.00178/0.001781, allocations: 192.1 kB / 18.01 MB, free: 5.094 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.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7478/0.7478, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 69.77 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1842, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.007463/0.1917, allocations: 4.361 MB / 0.637 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.1973, allocations: 3.265 MB / 0.6402 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.1977, allocations: 11.94 kB / 0.6402 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.1996, allocations: 0.5095 MB / 0.6407 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.2009, allocations: 390 kB / 0.6411 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.2018, allocations: 259.3 kB / 0.6413 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.2028, allocations: 0.5956 MB / 0.6419 GB, free: 11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.2036, allocations: 0.517 MB / 0.6424 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.2043, allocations: 295.1 kB / 0.6427 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.205, allocations: 275 kB / 0.6429 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.2051, allocations: 44 kB / 0.643 GB, free: 9.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.2058, allocations: 295.5 kB / 0.6433 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.2061, allocations: 159.6 kB / 0.6434 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.2064, allocations: 234.9 kB / 0.6436 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.2078, allocations: 0.7868 MB / 0.6444 GB, free: 8.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2078, allocations: 0 / 0.6444 GB, free: 8.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2078, allocations: 0 / 0.6444 GB, free: 8.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.2078, allocations: 0 / 0.6444 GB, free: 8.41 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.001734/0.2096, allocations: 0.7792 MB / 0.6452 GB, free: 7.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2096, allocations: 8.031 kB / 0.6452 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.2128, allocations: 0.6749 MB / 0.6458 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.2136, allocations: 451.8 kB / 0.6463 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.2136, allocations: 21.03 kB / 0.6463 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.2138, allocations: 36.11 kB / 0.6463 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.2155, allocations: 0.7864 MB / 0.6471 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2155, allocations: 0 / 0.6471 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.2156, allocations: 15.98 kB / 0.6471 GB, free: 5.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.2158, allocations: 48.55 kB / 0.6471 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.2179, allocations: 0.8687 MB / 0.648 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.2221, allocations: 2.812 MB / 0.6507 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.2239, allocations: 0.5098 MB / 0.6512 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.2247, allocations: 256.6 kB / 0.6515 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.2248, allocations: 85.09 kB / 0.6516 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.2249, allocations: 38.56 kB / 0.6516 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.973e-06/0.2249, allocations: 0 / 0.6516 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of matching and sorting (n=24): time 0.01254/0.2375, allocations: 3.061 MB / 0.6546 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.2375, allocations: 59.39 kB / 0.6546 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.2382, allocations: 405.5 kB / 0.655 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.2383, allocations: 29.7 kB / 0.6551 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.2385, allocations: 231.8 kB / 0.6553 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2386, allocations: 90.73 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.2388, allocations: 69.67 kB / 0.6554 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2389, allocations: 346.8 kB / 0.6558 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2399, allocations: 364.4 kB / 0.6561 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.241, allocations: 429.6 kB / 0.6565 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.243, allocations: 0.7598 MB / 0.6573 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.243, allocations: 0 / 0.6573 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005238/0.2482, allocations: 1.492 MB / 0.6587 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.2483, allocations: 5.875 kB / 0.6587 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2483, allocations: 4 kB / 0.6587 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003585/0.2519, allocations: 0.7702 MB / 0.6595 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/0.2526, allocations: 135.8 kB / 0.6596 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008709/0.2613, allocations: 4.837 MB / 0.6643 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009753/0.2623, allocations: 107.8 kB / 0.6644 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.2624, allocations: 19.98 kB / 0.6645 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001539/0.264, allocations: 0.531 MB / 0.665 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001047/0.265, allocations: 416 kB / 0.6654 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001962/0.267, allocations: 0.7257 MB / 0.6661 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.267, allocations: 7.875 kB / 0.6661 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.004621/0.2717, allocations: 1.267 MB / 0.6673 GB, free: 32 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2717, allocations: 4 kB / 0.6673 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2717, allocations: 8.188 kB / 0.6673 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.274, allocations: 0.4923 MB / 0.6678 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.2748, allocations: 143.8 kB / 0.668 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.2785, allocations: 2.604 MB / 0.6705 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/0.2793, allocations: 111.9 kB / 0.6706 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.2794, allocations: 8 kB / 0.6706 GB, free: 12.52 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.000224/0.2796, allocations: 204.1 kB / 0.6708 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2798, allocations: 47.55 kB / 0.6709 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.2844, allocations: 1.364 MB / 0.6722 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2845, allocations: 0 / 0.6722 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2845, allocations: 4 kB / 0.6722 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2845, allocations: 0 / 0.6722 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005235/0.2897, allocations: 1.996 MB / 0.6741 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2897, allocations: 4 kB / 0.6741 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.2901, allocations: 75.89 kB / 0.6742 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/0.2932, allocations: 0.7077 MB / 0.6749 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.2933, allocations: 11.94 kB / 0.6749 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/0.2993, allocations: 4.667 MB / 0.6795 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.2994, allocations: 12.03 kB / 0.6795 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.3036, allocations: 1.342 MB / 0.6808 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.304, allocations: 168.7 kB / 0.681 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.3041, allocations: 8 kB / 0.681 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006164/0.3047, allocations: 83.86 kB / 0.681 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3048, allocations: 31.89 kB / 0.6811 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3049, allocations: 7.938 kB / 0.6811 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004493/0.3053, allocations: 311.1 kB / 0.6814 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3053, allocations: 0 / 0.6814 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008879/0.3062, allocations: 200 kB / 0.6816 GB, free: 0.8711 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.0002293/0.3065, allocations: 103.2 kB / 0.6817 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.3104, allocations: 1.585 MB / 0.6832 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3104, allocations: 0 / 0.6832 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3116, allocations: 0.6184 MB / 0.6838 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.3124, allocations: 129.5 kB / 0.6839 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3145, allocations: 1.077 MB / 0.685 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.3151, allocations: 0.9015 MB / 0.6859 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3153, allocations: 43.42 kB / 0.6859 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.3153, allocations: 0 / 0.6859 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.0176/0.3329, allocations: 12.56 MB / 0.6982 GB, free: 15.75 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (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 & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)