Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009036/0.0009038, allocations: 172.5 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008623/0.0008626, allocations: 96.92 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1617/0.1617, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003621, allocations: 16 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2547, allocations: 56.33 MB / 479.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004394/0.2591, allocations: 4.532 MB / 484.3 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2615, allocations: 1.673 MB / 485.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.2618, allocations: 25.91 kB / 486 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.262, allocations: 77.52 kB / 486 MB, free: 5.016 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006197/0.2626, allocations: 286.7 kB / 486.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.2633, allocations: 254.5 kB / 486.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.264, allocations: 0.721 MB / 487.3 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007029/0.2647, allocations: 0.4987 MB / 487.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.2651, allocations: 240.7 kB / 488 MB, free: 4.082 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.2656, allocations: 372.6 kB / 488.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.797e-05/0.2657, allocations: 20.69 kB / 488.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.2659, allocations: 134.6 kB / 488.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.2662, allocations: 221.1 kB / 488.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2664, allocations: 261.5 kB / 489 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.267, allocations: 488.6 kB / 489.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.267, allocations: 2.125 kB / 489.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.267, allocations: 4 kB / 489.5 MB, free: 3.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.267, allocations: 0 / 489.5 MB, free: 3.625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001521/0.2686, allocations: 0.794 MB / 490.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2686, allocations: 9.25 kB / 490.3 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.451e-05/0.2687, allocations: 83.83 kB / 490.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004964/0.2692, allocations: 87.12 kB / 490.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008201/0.27, allocations: 487.7 kB / 490.9 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2701, allocations: 33.92 kB / 491 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2702, allocations: 61.09 kB / 491 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009354/0.2711, allocations: 0.6772 MB / 491.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2712, allocations: 1.094 kB / 491.7 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.2712, allocations: 21.84 kB / 491.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.2713, allocations: 33.58 kB / 491.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.2722, allocations: 0.5297 MB / 492.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.2755, allocations: 3.106 MB / 495.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.2761, allocations: 321 kB / 495.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2764, allocations: 176.9 kB / 495.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.2764, allocations: 16.97 kB / 495.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2765, allocations: 36.56 kB / 495.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.2765, allocations: 1.125 kB / 495.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002097/0.2786, allocations: 1.208 MB / 497.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2787, allocations: 80.7 kB / 497.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.2792, allocations: 398.8 kB / 497.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.2793, allocations: 30.86 kB / 497.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.2796, allocations: 299.3 kB / 497.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.2797, allocations: 114.8 kB / 498.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.2798, allocations: 10.16 kB / 498.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2799, allocations: 355 kB / 498.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.2803, allocations: 194.2 kB / 498.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/0.2809, allocations: 378.7 kB / 499 MB, free: 13.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.2818, allocations: 0.599 MB / 499.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2818, allocations: 2.219 kB / 499.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002/0.2838, allocations: 0.8295 MB / 0.4887 GB, free: 12.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2839, allocations: 7.547 kB / 0.4887 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2839, allocations: 10.3 kB / 0.4887 GB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.2851, allocations: 264.5 kB / 0.4889 GB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.2858, allocations: 140.5 kB / 0.4891 GB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.2901, allocations: 3.758 MB / 0.4927 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.2906, allocations: 30.38 kB / 0.4928 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.2907, allocations: 22.84 kB / 0.4928 GB, free: 9.188 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.291, allocations: 238.5 kB / 0.493 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.2911, allocations: 41.77 kB / 0.4931 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.2919, allocations: 482.2 kB / 0.4935 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2919, allocations: 4.281 kB / 0.4935 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2919, allocations: 1.156 kB / 0.4935 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2919, allocations: 0.8438 kB / 0.4935 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2934, allocations: 1.011 MB / 0.4945 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.2934, allocations: 1.094 kB / 0.4945 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.2939, allocations: 89.62 kB / 0.4946 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2939, allocations: 2 kB / 0.4946 GB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.2939, allocations: 12.56 kB / 0.4946 GB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.2939, allocations: 10.12 kB / 0.4946 GB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2939, allocations: 9.109 kB / 0.4946 GB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.295, allocations: 0.7327 MB / 0.4953 GB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.2951, allocations: 122.8 kB / 0.4955 GB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2951, allocations: 11.53 kB / 0.4955 GB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2954, allocations: 19.89 kB / 0.4955 GB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.2955, allocations: 27.53 kB / 0.4955 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.2955, allocations: 12.75 kB / 0.4955 GB, free: 7.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.2958, allocations: 269.4 kB / 0.4958 GB, free: 7.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2958, allocations: 0 / 0.4958 GB, free: 7.152 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005779/0.2964, allocations: 122.5 kB / 0.4959 GB, free: 7.137 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * Array equations: 0 * 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.001216/0.2976, allocations: 1.279 MB / 0.4972 GB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.2991, allocations: 0.7906 MB / 0.4979 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2991, allocations: 0 / 0.4979 GB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.2994, allocations: 198.5 kB / 0.4981 GB, free: 5.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.3, allocations: 88.67 kB / 0.4982 GB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006651/0.3066, allocations: 3.777 MB / 0.5019 GB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3071, allocations: 0.894 MB / 0.5028 GB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/0.3074, allocations: 175.4 kB / 0.5029 GB, free: 1.832 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3074, allocations: 0 / 0.5029 GB, free: 1.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.59/3.898, allocations: 9.12 MB / 0.5118 GB, free: 8.691 MB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)