Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001293/0.001293, allocations: 100.3 kB / 15.73 MB, free: 436 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.001463/0.001463, allocations: 182.4 kB / 16.62 MB, free: 6.887 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1448/0.1448, allocations: 8.087 MB / 299.7 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8 kB / 362.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.0855, allocations: 52.51 MB / 415.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001344/0.08688, allocations: 1.091 MB / 416.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.08842, allocations: 1.455 MB / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.08849, allocations: 8 kB / 417.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.08873, allocations: 91.52 kB / 418 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.08895, allocations: 107.7 kB / 418.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.09015, allocations: 0.7396 MB / 418.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.09039, allocations: 167.6 kB / 419 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.09054, allocations: 70.89 kB / 419.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.09064, allocations: 83.7 kB / 419.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.09081, allocations: 103.6 kB / 419.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.09084, allocations: 12 kB / 419.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.09112, allocations: 163.8 kB / 419.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.09117, allocations: 39.83 kB / 419.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.09122, allocations: 61.58 kB / 419.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.09155, allocations: 271.6 kB / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.09156, allocations: 0 / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09157, allocations: 0 / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.09157, allocations: 0 / 419.8 MB, free: 4.211 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002323/0.0939, allocations: 0.7836 MB / 420.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.09395, allocations: 8.031 kB / 420.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.09403, allocations: 62.5 kB / 420.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.0941, allocations: 23.72 kB / 420.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.09442, allocations: 251.2 kB / 420.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.09445, allocations: 16.33 kB / 420.9 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.09449, allocations: 16 kB / 421 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.09494, allocations: 255.8 kB / 421.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.09496, allocations: 3.984 kB / 421.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.09499, allocations: 12 kB / 421.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.09501, allocations: 7.953 kB / 421.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.0954, allocations: 243.8 kB / 421.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.09705, allocations: 1.129 MB / 422.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/0.09773, allocations: 318.5 kB / 422.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.0978, allocations: 7.984 kB / 422.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.09783, allocations: 34.56 kB / 422.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.09784, allocations: 0 / 422.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.159/0.2568, allocations: 0.9543 MB / 423.9 MB, free: 41.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2569, allocations: 59.08 kB / 424 MB, free: 40.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.2571, allocations: 191.5 kB / 424.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.2572, allocations: 33.73 kB / 424.2 MB, free: 40.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.2573, allocations: 129.5 kB / 424.3 MB, free: 40.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.2574, allocations: 89.23 kB / 424.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.2574, allocations: 4.375 kB / 424.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.2574, allocations: 330.2 kB / 424.7 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2576, allocations: 152.2 kB / 424.9 MB, free: 40.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2578, allocations: 163.9 kB / 425 MB, free: 40.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.258, allocations: 166.8 kB / 425.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.258, allocations: 2.719 kB / 425.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001343/0.2594, allocations: 0.6432 MB / 425.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2594, allocations: 2.5 kB / 425.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2594, allocations: 4.75 kB / 425.8 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.2607, allocations: 327.2 kB / 426.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2609, allocations: 42.73 kB / 426.2 MB, free: 40.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.2642, allocations: 2.605 MB / 428.8 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.2644, allocations: 27.72 kB / 428.8 MB, free: 39.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.2644, allocations: 9.875 kB / 428.8 MB, free: 39.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.2645, allocations: 136.6 kB / 429 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.2646, allocations: 25.03 kB / 429 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.2659, allocations: 0.6127 MB / 429.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.2659, allocations: 4.016 kB / 429.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.266, allocations: 0.625 kB / 429.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.266, allocations: 3.094 kB / 429.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.2663, allocations: 393.1 kB / 430 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2663, allocations: 0 / 430 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2664, allocations: 35.64 kB / 430 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/0.2676, allocations: 311.3 kB / 430.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2676, allocations: 6 kB / 430.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.2706, allocations: 2.58 MB / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2706, allocations: 0 / 432.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2719, allocations: 0.6658 MB / 433.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.272, allocations: 109.6 kB / 433.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.272, allocations: 0 / 433.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.2723, allocations: 14.75 kB / 433.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2723, allocations: 31.41 kB / 433.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.2723, allocations: 7.156 kB / 433.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.957e-05/0.2724, allocations: 150 kB / 433.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2724, allocations: 0 / 433.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003802/0.2728, allocations: 93.56 kB / 434 MB, free: 36.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.2743, allocations: 1.222 MB / 435.2 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.2754, allocations: 0.6052 MB / 435.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2754, allocations: 0 / 435.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008216/0.2763, allocations: 443.1 kB / 436.3 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2765, allocations: 23.48 kB / 436.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.2774, allocations: 0.8011 MB / 437.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2775, allocations: 0.7514 MB / 437.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.627e-05/0.2776, allocations: 37.98 kB / 437.9 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.2777, allocations: 60.44 kB / 437.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2777, allocations: 3.031 kB / 437.9 MB, free: 34.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.2941, allocations: 7.439 MB / 445.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.2943, allocations: 201.6 kB / 445.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.945, allocations: 3.938 kB / 445.6 MB, free: 33.34 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: