Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.001478/0.001478, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008845/0.0008845, allocations: 92.97 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1804/0.1804, allocations: 38 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.102e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 56.31 MB / 467 MB, free: 6.484 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5856, allocations: 95.61 MB / 0.5494 GB, free: 15.19 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.5861, allocations: 91.94 kB / 0.5495 GB, free: 15.1 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.61, allocations: 7.625 MB / 0.5569 GB, free: 7.414 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.61, allocations: 0 / 0.5569 GB, free: 7.414 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.6101, allocations: 7.938 kB / 0.557 GB, free: 7.406 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009533/0.611, allocations: 0.5901 MB / 0.5575 GB, free: 6.773 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.6111, allocations: 12.03 kB / 0.5575 GB, free: 6.762 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.6112, allocations: 39.83 kB / 0.5576 GB, free: 6.723 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.6127, allocations: 0.7267 MB / 0.5583 GB, free: 5.957 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6128, allocations: 8 kB / 0.5583 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.6128, allocations: 16 kB / 0.5583 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003772/0.6132, allocations: 225 kB / 0.5585 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.6137, allocations: 315.6 kB / 0.5588 GB, free: 5.375 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.6137, allocations: 7.984 kB / 0.5588 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.6137, allocations: 0 / 0.5588 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6138, allocations: 11.95 kB / 0.5588 GB, free: 5.355 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.6153, allocations: 1.379 MB / 0.5602 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.6155, allocations: 149 kB / 0.5603 GB, free: 3.727 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.6156, allocations: 73.75 kB / 0.5604 GB, free: 3.648 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.6157, allocations: 8.234 kB / 0.5604 GB, free: 3.641 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.6157, allocations: 38.55 kB / 0.5605 GB, free: 3.594 MB / 395.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.6157, allocations: 0 / 0.5605 GB, free: 3.594 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008989/0.6166, allocations: 0.5869 MB / 0.561 GB, free: 2.953 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.6167, allocations: 81.11 kB / 0.5611 GB, free: 2.855 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.617, allocations: 245.2 kB / 0.5613 GB, free: 2.605 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.617, allocations: 25.7 kB / 0.5614 GB, free: 2.574 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.6171, allocations: 215.7 kB / 0.5616 GB, free: 2.359 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.6172, allocations: 55.2 kB / 0.5616 GB, free: 2.305 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.6172, allocations: 4.031 kB / 0.5616 GB, free: 2.301 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6173, allocations: 342.8 kB / 0.562 GB, free: 1.957 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-05/0.6174, allocations: 59.91 kB / 0.562 GB, free: 1.898 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.6176, allocations: 166.3 kB / 0.5622 GB, free: 1.691 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.6177, allocations: 79.89 kB / 0.5622 GB, free: 1.613 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6177, allocations: 0 / 0.5622 GB, free: 1.613 MB / 395.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003642/0.6181, allocations: 261.4 kB / 0.5625 GB, free: 1.352 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6181, allocations: 12.03 kB / 0.5625 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.6181, allocations: 0 / 0.5625 GB, free: 1.34 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.6181, allocations: 8 kB / 0.5625 GB, free: 1.332 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.6184, allocations: 59.89 kB / 0.5626 GB, free: 1.273 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.6184, allocations: 7.953 kB / 0.5626 GB, free: 1.266 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6186, allocations: 8 kB / 0.5626 GB, free: 1.258 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.6186, allocations: 19.98 kB / 0.5626 GB, free: 1.238 MB / 395.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.601e-05/0.6187, allocations: 112.9 kB / 0.5627 GB, free: 1.121 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002812/0.619, allocations: 185.3 kB / 0.5629 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.6191, allocations: 27.62 kB / 0.5629 GB, free: 0.9062 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.6194, allocations: 215.7 kB / 0.5631 GB, free: 0.6914 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6194, allocations: 7.938 kB / 0.5631 GB, free: 0.6836 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.6194, allocations: 7.891 kB / 0.5631 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6194, allocations: 0 / 0.5631 GB, free: 0.6758 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.6201, allocations: 0.5543 MB / 0.5637 GB, free: 76 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.6201, allocations: 7.922 kB / 0.5637 GB, free: 68 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.6203, allocations: 43.98 kB / 0.5637 GB, free: 24 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6203, allocations: 4 kB / 0.5637 GB, free: 20 kB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6204, allocations: 3.984 kB / 0.5637 GB, free: 16 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.6204, allocations: 7.953 kB / 0.5637 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6204, allocations: 0 / 0.5637 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.6209, allocations: 432.6 kB / 0.5642 GB, free: 15.55 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.621, allocations: 108.7 kB / 0.5643 GB, free: 15.43 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.621, allocations: 4 kB / 0.5643 GB, free: 15.42 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.6212, allocations: 4 kB / 0.5643 GB, free: 15.42 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.6212, allocations: 11.97 kB / 0.5643 GB, free: 15.41 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6212, allocations: 8 kB / 0.5643 GB, free: 15.4 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.6214, allocations: 192.6 kB / 0.5645 GB, free: 15.21 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6214, allocations: 0 / 0.5645 GB, free: 15.21 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.6218, allocations: 68.05 kB / 0.5645 GB, free: 15.14 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete 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: 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.0008596/0.6226, allocations: 1.099 MB / 0.5656 GB, free: 14 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.6229, allocations: 167.8 kB / 0.5658 GB, free: 13.84 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.623, allocations: 4 kB / 0.5658 GB, free: 13.84 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.6231, allocations: 91.73 kB / 0.5659 GB, free: 13.75 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.6235, allocations: 53.81 kB / 0.5659 GB, free: 13.7 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.6246, allocations: 0.5334 MB / 0.5664 GB, free: 13.12 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.625, allocations: 0.8146 MB / 0.5672 GB, free: 12.28 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.6252, allocations: 55.25 kB / 0.5673 GB, free: 12.23 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.6254, allocations: 111.4 kB / 0.5674 GB, free: 12.12 MB / 411.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6254, allocations: 3.938 kB / 0.5674 GB, free: 12.11 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.653, allocations: 5.073 MB / 0.5723 GB, free: 7.051 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.6533, allocations: 153.4 kB / 0.5725 GB, free: 6.848 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.608, allocations: 3.25 kB / 0.5725 GB, free: 6.848 MB / 411.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat does not exist to compare? outputFormat=mat