Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.001134/0.001134, allocations: 101.4 kB / 16.31 MB, free: 6.391 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.001119/0.001119, allocations: 190.7 kB / 17.24 MB, free: 5.922 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.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05408/0.05408, allocations: 8.093 MB / 299.2 MB, free: 6.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 361.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2582, allocations: 51.51 MB / 413.4 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002762/0.261, allocations: 1.147 MB / 414.5 MB, free: 24.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.2627, allocations: 1.442 MB / 415.9 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.2629, allocations: 7.938 kB / 416 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.2633, allocations: 95.55 kB / 416 MB, free: 22.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.2636, allocations: 75.47 kB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.265, allocations: 0.7507 MB / 416.9 MB, free: 22.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.2653, allocations: 135.3 kB / 417 MB, free: 21.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2655, allocations: 47.91 kB / 417 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.916e-05/0.2656, allocations: 59.78 kB / 417.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2657, allocations: 79.67 kB / 417.2 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.2657, allocations: 8 kB / 417.2 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.2661, allocations: 155.9 kB / 417.3 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.2661, allocations: 31.84 kB / 417.4 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.2662, allocations: 63.67 kB / 417.4 MB, free: 21.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.2666, allocations: 261.6 kB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2666, allocations: 0 / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2666, allocations: 0 / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2667, allocations: 0 / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001528/0.2682, allocations: 0.5889 MB / 418.3 MB, free: 20.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2682, allocations: 11.89 kB / 418.3 MB, free: 20.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.781e-05/0.2683, allocations: 50.67 kB / 418.3 MB, free: 20.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.2684, allocations: 24.69 kB / 418.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.2686, allocations: 208.1 kB / 418.6 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2686, allocations: 8.609 kB / 418.6 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2686, allocations: 12.38 kB / 418.6 MB, free: 20.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2689, allocations: 173.6 kB / 418.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.269, allocations: 3.938 kB / 418.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.269, allocations: 8 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.269, allocations: 7.969 kB / 418.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2692, allocations: 148.6 kB / 418.9 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.2701, allocations: 0.5636 MB / 419.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.2704, allocations: 150.5 kB / 419.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2705, allocations: 72.84 kB / 419.7 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.2705, allocations: 7.969 kB / 419.7 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.2706, allocations: 38.56 kB / 419.8 MB, free: 19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.2706, allocations: 0 / 419.8 MB, free: 19 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009325/0.2715, allocations: 387.5 kB / 420.1 MB, free: 18.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2716, allocations: 59.41 kB / 420.2 MB, free: 18.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2717, allocations: 167.4 kB / 420.4 MB, free: 18.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2717, allocations: 29.7 kB / 420.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.2718, allocations: 116.1 kB / 420.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2718, allocations: 51.3 kB / 420.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.2719, allocations: 37.7 kB / 420.6 MB, free: 18.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.272, allocations: 322.8 kB / 420.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2721, allocations: 95.91 kB / 421 MB, free: 17.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.2722, allocations: 95.95 kB / 421.1 MB, free: 17.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.2724, allocations: 192.6 kB / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2725, allocations: 0 / 421.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004572/0.2729, allocations: 299.8 kB / 421.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2729, allocations: 7.984 kB / 421.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.273, allocations: 4 kB / 421.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.2732, allocations: 52.83 kB / 421.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2734, allocations: 39.91 kB / 421.7 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.2745, allocations: 1.539 MB / 423.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.2747, allocations: 19.78 kB / 423.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2747, allocations: 8.094 kB / 423.2 MB, free: 15.29 MB / 302.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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/0.2748, allocations: 125.8 kB / 423.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.2749, allocations: 7.906 kB / 423.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.2753, allocations: 235.2 kB / 423.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2753, allocations: 4 kB / 423.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2753, allocations: 4 kB / 423.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2753, allocations: 7.922 kB / 423.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2755, allocations: 265.4 kB / 423.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2755, allocations: 3.938 kB / 423.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.2756, allocations: 19.98 kB / 423.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.2758, allocations: 52.77 kB / 423.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.2758, allocations: 3.984 kB / 423.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009965/0.2768, allocations: 1.535 MB / 425.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2769, allocations: 0 / 425.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.2773, allocations: 307.1 kB / 425.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2773, allocations: 93.09 kB / 425.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.2774, allocations: 8 kB / 425.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2775, allocations: 3.938 kB / 425.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2775, allocations: 11.98 kB / 425.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2775, allocations: 4 kB / 425.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.94e-05/0.2776, allocations: 126.1 kB / 426 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2776, allocations: 0 / 426 MB, free: 12.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.278, allocations: 59.84 kB / 426.1 MB, free: 12.2 MB / 302.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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006896/0.2787, allocations: 0.8714 MB / 427 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.2793, allocations: 318.6 kB / 427.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2793, allocations: 3.938 kB / 427.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.2797, allocations: 206.7 kB / 427.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.2799, allocations: 6.344 kB / 427.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.282, allocations: 2.068 MB / 429.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.2821, allocations: 0.7122 MB / 430.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.217e-05/0.2822, allocations: 16.64 kB / 430.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.2823, allocations: 47.41 kB / 430.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2823, allocations: 0 / 430.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3062, allocations: 3.808 MB / 434.1 MB, free: 4.062 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.549/9.855, allocations: 4.156 kB / 434.1 MB, free: 4.059 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)