Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source",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.0009635/0.0009637, allocations: 84.44 kB / 16.31 MB, free: 5.676 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.001073/0.001073, allocations: 182.5 kB / 17.21 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1919/0.1919, allocations: 38.04 MB / 309.7 MB, free: 6.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006156/0.0006156, allocations: 16 kB / 376.6 MB, free: 2.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2761, allocations: 56.32 MB / 432.9 MB, free: 18.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004885/0.281, allocations: 4.44 MB / 437.4 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.2833, allocations: 1.653 MB / 439 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.2836, allocations: 27.81 kB / 439.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.2839, allocations: 75.39 kB / 439.1 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.2845, allocations: 302.6 kB / 439.4 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.2851, allocations: 223.6 kB / 439.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000508/0.2856, allocations: 0.7444 MB / 440.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005601/0.2862, allocations: 422.6 kB / 440.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.2864, allocations: 227 kB / 441 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.2869, allocations: 371 kB / 441.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.229e-05/0.2869, allocations: 20 kB / 441.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.2873, allocations: 183.6 kB / 441.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.2874, allocations: 207.5 kB / 441.8 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.2875, allocations: 117.5 kB / 441.9 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.2879, allocations: 490.9 kB / 442.4 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2879, allocations: 0 / 442.4 MB, free: 9.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2879, allocations: 0 / 442.4 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2879, allocations: 0 / 442.4 MB, free: 9.293 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001038/0.289, allocations: 0.6919 MB / 443.1 MB, free: 8.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.289, allocations: 11.97 kB / 443.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.779e-05/0.2891, allocations: 102.4 kB / 443.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.2896, allocations: 87.28 kB / 443.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.2901, allocations: 390.2 kB / 443.7 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2901, allocations: 21 kB / 443.7 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.2903, allocations: 51.97 kB / 443.7 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.291, allocations: 0.6875 MB / 444.4 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.2911, allocations: 7.984 kB / 444.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.2911, allocations: 19.95 kB / 444.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001695/0.2913, allocations: 68.94 kB / 444.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007955/0.2921, allocations: 0.6674 MB / 445.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.2948, allocations: 2.658 MB / 447.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.2953, allocations: 317.3 kB / 448.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.2956, allocations: 213.4 kB / 448.4 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.2956, allocations: 7.984 kB / 448.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.2957, allocations: 34.56 kB / 448.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.524e-06/0.2957, allocations: 0 / 448.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001823/0.2975, allocations: 1.295 MB / 449.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.2976, allocations: 85.09 kB / 449.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.2978, allocations: 291.1 kB / 450.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2979, allocations: 33.69 kB / 450.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.298, allocations: 255.7 kB / 450.3 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.701e-05/0.2981, allocations: 138.1 kB / 450.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.2982, allocations: 4 kB / 450.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2983, allocations: 350.8 kB / 450.8 MB, free: 448 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2985, allocations: 184.9 kB / 451 MB, free: 260 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.2989, allocations: 325.3 kB / 451.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.2993, allocations: 243.8 kB / 451.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2993, allocations: 4 kB / 451.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001199/0.3005, allocations: 0.6704 MB / 452.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3005, allocations: 8 kB / 452.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007686/0.3013, allocations: 491.5 kB / 452.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.3017, allocations: 109.6 kB / 452.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.302, allocations: 91.77 kB / 452.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.3046, allocations: 3.01 MB / 455.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3048, allocations: 27.97 kB / 456 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.3049, allocations: 16 kB / 456 MB, free: 10.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.3052, allocations: 213.9 kB / 456.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.3052, allocations: 43.47 kB / 456.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006911/0.3059, allocations: 472.6 kB / 456.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.306, allocations: 8 kB / 456.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.306, allocations: 4 kB / 456.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.306, allocations: 3.984 kB / 456.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.3074, allocations: 1.023 MB / 457.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3074, allocations: 0 / 457.7 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.3077, allocations: 67.89 kB / 457.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3077, allocations: 0 / 457.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3078, allocations: 8 kB / 457.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3078, allocations: 7.984 kB / 457.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3078, allocations: 64 / 457.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.3087, allocations: 0.747 MB / 458.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3088, allocations: 132.8 kB / 458.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3089, allocations: 8 kB / 458.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.309, allocations: 19.97 kB / 458.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3091, allocations: 19.98 kB / 458.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3091, allocations: 11.98 kB / 458.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.3093, allocations: 203.1 kB / 458.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3093, allocations: 0 / 458.9 MB, free: 7.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.3098, allocations: 112 kB / 459 MB, free: 7.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/0.311, allocations: 1.327 MB / 460.4 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3121, allocations: 0.6973 MB / 461.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3121, allocations: 0 / 461.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.3123, allocations: 212.2 kB / 461.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.3129, allocations: 61.89 kB / 461.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.3167, allocations: 2.96 MB / 464.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3171, allocations: 0.8821 MB / 465.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.3174, allocations: 99.19 kB / 465.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.3176, allocations: 143.4 kB / 465.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3176, allocations: 4 kB / 465.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3401, allocations: 7.638 MB / 473.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.3405, allocations: 208.6 kB / 473.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.2, allocations: 0 / 473.3 MB, free: 9.32 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: