Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",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.000953/0.000953, allocations: 92.53 kB / 16.3 MB, free: 5.535 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.0009156/0.0009156, allocations: 185 kB / 17.2 MB, free: 5.469 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.472/1.472, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.169/0.169, allocations: 38.04 MB / 309.7 MB, free: 6.145 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.0005318/0.0005319, allocations: 15.28 kB / 376.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2477, allocations: 56.31 MB / 432.9 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.003673/0.2514, allocations: 4.446 MB / 437.3 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2533, allocations: 1.466 MB / 438.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.2535, allocations: 27.81 kB / 438.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.2539, allocations: 95.45 kB / 438.9 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.2544, allocations: 215.3 kB / 439.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.2548, allocations: 175.6 kB / 439.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.2551, allocations: 279.5 kB / 439.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007593/0.2559, allocations: 0.523 MB / 440.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.2562, allocations: 183.3 kB / 440.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.2565, allocations: 183.3 kB / 440.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.2565, allocations: 16 kB / 440.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.2567, allocations: 75.92 kB / 440.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2569, allocations: 151.6 kB / 440.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.2569, allocations: 101.5 kB / 440.8 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2573, allocations: 391 kB / 441.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2573, allocations: 4 kB / 441.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2573, allocations: 0 / 441.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2573, allocations: 0 / 441.2 MB, free: 10.48 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009005/0.2582, allocations: 0.625 MB / 441.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2582, allocations: 12.03 kB / 441.8 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.2583, allocations: 78.47 kB / 441.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005511/0.2589, allocations: 95.36 kB / 442 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.2594, allocations: 386 kB / 442.4 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2595, allocations: 33 kB / 442.4 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.2596, allocations: 43.98 kB / 442.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.2601, allocations: 460.8 kB / 442.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2602, allocations: 4 kB / 442.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2602, allocations: 23.88 kB / 442.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.692e-05/0.2603, allocations: 24.98 kB / 443 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2607, allocations: 335.7 kB / 443.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.2626, allocations: 1.702 MB / 445 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.2628, allocations: 149.2 kB / 445.1 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2629, allocations: 3.938 kB / 445.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.2629, allocations: 34.56 kB / 445.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.614e-06/0.2629, allocations: 4 kB / 445.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001206/0.2641, allocations: 0.8501 MB / 446 MB, free: 5.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.2641, allocations: 81.11 kB / 446.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.2644, allocations: 308.5 kB / 446.4 MB, free: 4.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2644, allocations: 29.7 kB / 446.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2645, allocations: 247.5 kB / 446.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.2646, allocations: 71.09 kB / 446.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.2646, allocations: 4 kB / 446.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.2647, allocations: 342.8 kB / 447.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2648, allocations: 88.22 kB / 447.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2649, allocations: 197.2 kB / 447.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2651, allocations: 128.6 kB / 447.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2651, allocations: 0 / 447.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006649/0.2658, allocations: 459.6 kB / 447.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2658, allocations: 11.98 kB / 447.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004592/0.2663, allocations: 292.9 kB / 448.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/0.2667, allocations: 128.7 kB / 448.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2669, allocations: 51.91 kB / 448.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.2689, allocations: 2.294 MB / 450.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2691, allocations: 15.94 kB / 450.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2691, allocations: 16 kB / 450.7 MB, free: 328 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.2693, allocations: 189.6 kB / 450.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.2694, allocations: 31.62 kB / 450.9 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.2698, allocations: 249.6 kB / 451.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2698, allocations: 0 / 451.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2698, allocations: 3.953 kB / 451.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2698, allocations: 4 kB / 451.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2709, allocations: 0.7182 MB / 451.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.271, allocations: 3.953 kB / 451.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2712, allocations: 43.97 kB / 452 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.896e-05/0.2713, allocations: 24.84 kB / 452 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.2713, allocations: 4 kB / 452 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.2725, allocations: 1.505 MB / 453.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2725, allocations: 256 / 453.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005039/0.273, allocations: 467.9 kB / 454 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.2731, allocations: 100.9 kB / 454.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2732, allocations: 11.95 kB / 454.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2733, allocations: 7.984 kB / 454.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2734, allocations: 15.92 kB / 454.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2734, allocations: 4 kB / 454.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.2736, allocations: 211.1 kB / 454.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2736, allocations: 0 / 454.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004508/0.274, allocations: 88 kB / 454.4 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008966/0.2749, allocations: 1.199 MB / 455.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.2756, allocations: 387.1 kB / 456 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2756, allocations: 0 / 456 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.2759, allocations: 235.3 kB / 456.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2763, allocations: 61.22 kB / 456.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.2805, allocations: 4.445 MB / 460.7 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.281, allocations: 0.8497 MB / 461.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.2812, allocations: 62.91 kB / 461.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2813, allocations: 119.4 kB / 461.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2813, allocations: 0 / 461.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.3003, allocations: 6.952 MB / 468.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.3005, allocations: 202.3 kB / 468.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.034, allocations: 4 kB / 468.9 MB, free: 13.67 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) Environment - environmentSimulation: