Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001602/0.001601, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.797/1.797, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008102/0.0008102, allocations: 86 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1735/0.1735, allocations: 37.97 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.427e-05, allocations: 4 kB / 417.8 MB, free: 29.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 56.32 MB / 474.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4949/0.6372, allocations: 99.38 MB / 0.5601 GB, free: 4.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.6377, allocations: 91.98 kB / 0.5602 GB, free: 4.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1391/0.7768, allocations: 59.06 MB / 0.6179 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7768, allocations: 4 kB / 0.6179 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.7768, allocations: 19.98 kB / 0.6179 GB, free: 15.75 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002124/0.779, allocations: 1.124 MB / 0.619 GB, free: 14.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.779, allocations: 8.031 kB / 0.619 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.7793, allocations: 172.5 kB / 0.6191 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.7831, allocations: 0.5019 MB / 0.6196 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.7842, allocations: 0.5476 MB / 0.6202 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.7842, allocations: 65.98 kB / 0.6202 GB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.7844, allocations: 95.98 kB / 0.6203 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.7867, allocations: 1.438 MB / 0.6217 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.7868, allocations: 0 / 0.6217 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.7869, allocations: 35.98 kB / 0.6218 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003404/0.7872, allocations: 141.9 kB / 0.6219 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/0.7895, allocations: 1.46 MB / 0.6233 GB, free: 10.02 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.797, allocations: 4.853 MB / 0.6281 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.7987, allocations: 1.151 MB / 0.6292 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/0.7997, allocations: 0.742 MB / 0.6299 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.7998, allocations: 17.06 kB / 0.6299 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.7998, allocations: 43.56 kB / 0.63 GB, free: 2.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.686e-06/0.7998, allocations: 0 / 0.63 GB, free: 2.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.004169/0.804, allocations: 2.385 MB / 0.6323 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.8041, allocations: 90.11 kB / 0.6324 GB, free: 480 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.8046, allocations: 414.9 kB / 0.6328 GB, free: 60 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.8047, allocations: 45.7 kB / 0.6328 GB, free: 8 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.805, allocations: 415.5 kB / 0.6332 GB, free: 15.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.8053, allocations: 374.5 kB / 0.6336 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.8054, allocations: 20 kB / 0.6336 GB, free: 15.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.8055, allocations: 386.8 kB / 0.634 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007543/0.8063, allocations: 0.5141 MB / 0.6345 GB, free: 14.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008879/0.8072, allocations: 0.7228 MB / 0.6352 GB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.8081, allocations: 0.6333 MB / 0.6358 GB, free: 12.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8082, allocations: 7.938 kB / 0.6358 GB, free: 12.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002869/0.811, allocations: 1.748 MB / 0.6375 GB, free: 11.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.8111, allocations: 8.469 kB / 0.6375 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8111, allocations: 8 kB / 0.6375 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.8122, allocations: 411.7 kB / 0.6379 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009014/0.8131, allocations: 235.6 kB / 0.6381 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/0.8198, allocations: 5.602 MB / 0.6436 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.8208, allocations: 68.02 kB / 0.6437 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.8209, allocations: 47.94 kB / 0.6437 GB, free: 4.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.8212, allocations: 169.8 kB / 0.6439 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.8213, allocations: 71.16 kB / 0.644 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.8244, allocations: 1.767 MB / 0.6457 GB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.8244, allocations: 12 kB / 0.6457 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.8244, allocations: 4 kB / 0.6457 GB, free: 2.391 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.8244, allocations: 3.984 kB / 0.6457 GB, free: 2.387 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.8301, allocations: 3.427 MB / 0.649 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8301, allocations: 7.953 kB / 0.6491 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.8309, allocations: 187.7 kB / 0.6492 GB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009336/0.8318, allocations: 346.2 kB / 0.6496 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.8319, allocations: 27.98 kB / 0.6496 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.8381, allocations: 5.321 MB / 0.6548 GB, free: 8.656 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8382, allocations: 7.938 kB / 0.6548 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.8414, allocations: 1.946 MB / 0.6567 GB, free: 6.539 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.8418, allocations: 160.2 kB / 0.6568 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.8419, allocations: 24 kB / 0.6569 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/0.8424, allocations: 51.94 kB / 0.6569 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.8426, allocations: 92.72 kB / 0.657 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/0.8427, allocations: 39.98 kB / 0.657 GB, free: 6.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004279/0.8431, allocations: 317.2 kB / 0.6573 GB, free: 5.852 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8431, allocations: 4 kB / 0.6574 GB, free: 5.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001377/0.8445, allocations: 415.9 kB / 0.6577 GB, free: 5.441 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003666/0.8482, allocations: 3.553 MB / 0.6612 GB, free: 1.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002686/0.8509, allocations: 1.678 MB / 0.6629 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.8509, allocations: 0 / 0.6629 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.8525, allocations: 1.046 MB / 0.6639 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.8532, allocations: 107.2 kB / 0.664 GB, free: 14.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.8572, allocations: 2.069 MB / 0.666 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009018/0.8581, allocations: 1.2 MB / 0.6672 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005949/0.8587, allocations: 233.4 kB / 0.6674 GB, free: 11.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.8592, allocations: 343.2 kB / 0.6677 GB, free: 10.92 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/0.8592, allocations: 0 / 0.6677 GB, free: 10.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.539/2.398, allocations: 18.87 MB / 0.6861 GB, free: 8.074 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/2.399, allocations: 188.5 kB / 0.6863 GB, free: 7.844 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/4.838, allocations: 3.938 kB / 0.6863 GB, free: 7.84 MB / 490.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat does not exist to compare? outputFormat=mat