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.00141/0.00141, allocations: 176.2 kB / 8.348 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.749/1.749, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008068/0.0008067, allocations: 83.94 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.1921/0.1921, allocations: 37.99 MB / 348 MB, free: 7.77 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.415e-05, allocations: 4 kB / 410.7 MB, free: 46.84 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 56.32 MB / 467 MB, free: 6.465 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5629, allocations: 98.72 MB / 0.5525 GB, free: 12.11 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5632, allocations: 87.94 kB / 0.5525 GB, free: 12.02 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.7041, allocations: 58.78 MB / 0.6099 GB, free: 0.543 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7041, allocations: 4 kB / 0.6099 GB, free: 0.5391 MB / 443.1 MB Notification: Performance of Transformations before backend: time 3.391e-05/0.7042, allocations: 16 kB / 0.61 GB, free: 0.5234 MB / 443.1 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.002376/0.7065, allocations: 1.128 MB / 0.6111 GB, free: 15.35 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7066, allocations: 11.97 kB / 0.6111 GB, free: 15.34 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.7108, allocations: 0.5058 MB / 0.6116 GB, free: 14.83 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.712, allocations: 0.5515 MB / 0.6121 GB, free: 14.23 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.712, allocations: 28 kB / 0.6121 GB, free: 14.21 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.7122, allocations: 48 kB / 0.6122 GB, free: 14.16 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001859/0.7141, allocations: 1.168 MB / 0.6133 GB, free: 12.99 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.7161, allocations: 1.325 MB / 0.6146 GB, free: 11.63 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.7161, allocations: 4 kB / 0.6146 GB, free: 11.62 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/0.7162, allocations: 3.953 kB / 0.6146 GB, free: 11.62 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.7166, allocations: 133.9 kB / 0.6147 GB, free: 11.49 MB / 459.1 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.007769/0.7244, allocations: 4.686 MB / 0.6193 GB, free: 6.609 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.726, allocations: 1.095 MB / 0.6204 GB, free: 5.496 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/0.7269, allocations: 0.7057 MB / 0.6211 GB, free: 4.789 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.7269, allocations: 21.83 kB / 0.6211 GB, free: 4.77 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.727, allocations: 55.81 kB / 0.6212 GB, free: 4.703 MB / 459.1 MB Notification: Performance of pre-optimization done (n=107): time 3.576e-06/0.727, allocations: 0 / 0.6212 GB, free: 4.703 MB / 459.1 MB Notification: Performance of matching and sorting (n=108): time 0.004004/0.731, allocations: 2.263 MB / 0.6234 GB, free: 2.426 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.7311, allocations: 90.38 kB / 0.6235 GB, free: 2.32 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.7316, allocations: 389 kB / 0.6238 GB, free: 1.93 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.7317, allocations: 25.7 kB / 0.6238 GB, free: 1.898 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.7319, allocations: 431.5 kB / 0.6243 GB, free: 1.469 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.7323, allocations: 358.6 kB / 0.6246 GB, free: 1.113 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.7323, allocations: 0 / 0.6246 GB, free: 1.113 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.7325, allocations: 382.8 kB / 0.625 GB, free: 0.7305 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.7332, allocations: 494.4 kB / 0.6254 GB, free: 256 kB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.734, allocations: 0.701 MB / 0.6261 GB, free: 15.47 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.7349, allocations: 0.6113 MB / 0.6267 GB, free: 14.86 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7349, allocations: 4 kB / 0.6267 GB, free: 14.86 MB / 475.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002661/0.7376, allocations: 1.646 MB / 0.6283 GB, free: 13.2 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.7376, allocations: 8 kB / 0.6283 GB, free: 13.19 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.7376, allocations: 7.938 kB / 0.6283 GB, free: 13.18 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.7386, allocations: 379.6 kB / 0.6287 GB, free: 12.81 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.7396, allocations: 231.6 kB / 0.6289 GB, free: 12.58 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.746, allocations: 5.417 MB / 0.6342 GB, free: 6.906 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.7471, allocations: 51.86 kB / 0.6343 GB, free: 6.855 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.7472, allocations: 40 kB / 0.6343 GB, free: 6.816 MB / 475.1 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.0002673/0.7474, allocations: 124.8 kB / 0.6344 GB, free: 6.688 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002585/0.75, allocations: 1.473 MB / 0.6359 GB, free: 5.203 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7502, allocations: 71.16 kB / 0.6359 GB, free: 5.133 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.753, allocations: 1.673 MB / 0.6376 GB, free: 3.445 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.753, allocations: 12 kB / 0.6376 GB, free: 3.434 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.7531, allocations: 4 kB / 0.6376 GB, free: 3.43 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.7531, allocations: 7.969 kB / 0.6376 GB, free: 3.422 MB / 475.1 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.005393/0.7585, allocations: 3.183 MB / 0.6407 GB, free: 116 kB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7585, allocations: 8.031 kB / 0.6407 GB, free: 108 kB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.301/1.06, allocations: 180.3 kB / 0.6409 GB, free: 123.4 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/1.061, allocations: 336.6 kB / 0.6412 GB, free: 123.4 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/1.061, allocations: 10.84 kB / 0.6412 GB, free: 123.4 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006417/1.068, allocations: 5.128 MB / 0.6462 GB, free: 120.9 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.068, allocations: 8.656 kB / 0.6462 GB, free: 120.9 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.071, allocations: 1.878 MB / 0.6481 GB, free: 120.4 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/1.071, allocations: 158.4 kB / 0.6482 GB, free: 120.3 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.071, allocations: 10.02 kB / 0.6482 GB, free: 120.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/1.072, allocations: 29.41 kB / 0.6482 GB, free: 120.3 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/1.072, allocations: 89.34 kB / 0.6483 GB, free: 120.2 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/1.072, allocations: 34.45 kB / 0.6484 GB, free: 120.2 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0004917/1.073, allocations: 302.6 kB / 0.6487 GB, free: 120.2 MB / 475.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 0.6487 GB, free: 120.2 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001624/1.074, allocations: 362.2 kB / 0.649 GB, free: 120.2 MB / 475.1 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.003591/1.078, allocations: 3.462 MB / 0.6524 GB, free: 118 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.003031/1.081, allocations: 1.608 MB / 0.6539 GB, free: 117.8 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.081, allocations: 1.344 kB / 0.6539 GB, free: 117.8 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.083, allocations: 0.9969 MB / 0.6549 GB, free: 117.5 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/1.084, allocations: 85 kB / 0.655 GB, free: 117.5 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/1.089, allocations: 1.953 MB / 0.6569 GB, free: 117 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.09, allocations: 1.197 MB / 0.6581 GB, free: 116.3 MB / 475.1 MB Notification: Performance of simCode: alias equations: time 0.0008218/1.091, allocations: 232.2 kB / 0.6583 GB, free: 116.3 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/1.091, allocations: 343.8 kB / 0.6586 GB, free: 116.3 MB / 475.1 MB Notification: Performance of SimCode: time 1.673e-06/1.091, allocations: 2.656 kB / 0.6586 GB, free: 116.3 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04893/1.14, allocations: 18.05 MB / 0.6763 GB, free: 115.6 MB / 475.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/1.141, allocations: 146.6 kB / 0.6764 GB, free: 115.4 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.669, allocations: 0 / 0.6764 GB, free: 115.4 MB / 475.1 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