Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.001178/0.001178, allocations: 105.4 kB / 16.51 MB, free: 6.707 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.001033/0.001033, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.435/1.435, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.167/0.167, allocations: 37.99 MB / 308.6 MB, free: 6.242 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.001373/0.001374, allocations: 71.03 kB / 374.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2403, allocations: 55.23 MB / 430 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005423/0.2457, allocations: 7.641 MB / 437.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004434/0.2502, allocations: 4.597 MB / 442.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.2506, allocations: 19.88 kB / 442.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2525, allocations: 0.9803 MB / 443.2 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.2554, allocations: 1.215 MB / 444.4 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.2563, allocations: 303.3 kB / 444.7 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.2581, allocations: 2.584 MB / 447.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008663/0.259, allocations: 0.8099 MB / 448.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.2597, allocations: 0.5289 MB / 448.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.2604, allocations: 0.814 MB / 449.4 MB, free: 216 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.2604, allocations: 64 kB / 449.5 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.2636, allocations: 1.801 MB / 451.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.2641, allocations: 0.5885 MB / 451.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.2646, allocations: 0.5442 MB / 452.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.267, allocations: 1.955 MB / 454.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.267, allocations: 4 kB / 454.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.267, allocations: 0 / 454.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.267, allocations: 0 / 454.4 MB, free: 11.24 MB / 334.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.00182/0.2689, allocations: 1.322 MB / 455.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2689, allocations: 12.03 kB / 455.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.2691, allocations: 164.8 kB / 455.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003779/0.2729, allocations: 0.538 MB / 456.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.2737, allocations: 0.5597 MB / 457 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.2738, allocations: 62.38 kB / 457.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.2739, allocations: 88.36 kB / 457.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.2762, allocations: 1.501 MB / 458.6 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.2762, allocations: 11.92 kB / 458.7 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.2763, allocations: 35.98 kB / 458.7 MB, free: 6.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.2765, allocations: 102 kB / 458.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.2787, allocations: 1.542 MB / 460.3 MB, free: 5.156 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00685/0.2856, allocations: 4.923 MB / 465.3 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.2872, allocations: 1.168 MB / 466.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.2882, allocations: 0.7768 MB / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.2882, allocations: 25.05 kB / 467.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2883, allocations: 43.56 kB / 467.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 2.485e-06/0.2883, allocations: 0 / 467.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.006772/0.2951, allocations: 3.681 MB / 470.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2951, allocations: 94.05 kB / 471 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.2956, allocations: 473.8 kB / 471.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.2957, allocations: 41.7 kB / 471.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2959, allocations: 427.5 kB / 472 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.2962, allocations: 366.6 kB / 472.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.2964, allocations: 206.8 kB / 472.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2966, allocations: 378.8 kB / 472.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/0.2973, allocations: 0.5374 MB / 473.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.2982, allocations: 0.75 MB / 474.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.2998, allocations: 1.408 MB / 475.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2999, allocations: 4 kB / 475.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002685/0.3025, allocations: 1.801 MB / 477.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3026, allocations: 8 kB / 477.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3026, allocations: 8 kB / 477.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.3036, allocations: 413.8 kB / 477.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.3044, allocations: 239.6 kB / 478 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005985/0.3104, allocations: 5.598 MB / 483.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.3111, allocations: 59.94 kB / 483.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.3113, allocations: 43.98 kB / 483.7 MB, free: 12.92 MB / 366.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005568/0.3118, allocations: 361.5 kB / 484.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.312, allocations: 71.16 kB / 484.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.3148, allocations: 1.822 MB / 486 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.3148, allocations: 12 kB / 486 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3148, allocations: 4 kB / 486 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3148, allocations: 3.984 kB / 486 MB, free: 10.63 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005188/0.32, allocations: 3.47 MB / 489.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.32, allocations: 8 kB / 489.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.3207, allocations: 191.7 kB / 489.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009011/0.3216, allocations: 346.5 kB / 490 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.3217, allocations: 31.98 kB / 490 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005712/0.3274, allocations: 5.331 MB / 495.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.3275, allocations: 11.88 kB / 495.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.3302, allocations: 1.835 MB / 497.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.3304, allocations: 156.1 kB / 497.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3305, allocations: 24 kB / 497.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.331, allocations: 55.89 kB / 497.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.3312, allocations: 84.81 kB / 497.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.3313, allocations: 43.92 kB / 497.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003854/0.3317, allocations: 335 kB / 497.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3317, allocations: 0 / 497.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00139/0.3331, allocations: 396 kB / 498.3 MB, free: 13.84 MB / 382.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003255/0.3364, allocations: 2.391 MB / 0.4889 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002534/0.3389, allocations: 1.752 MB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.339, allocations: 0 / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.3405, allocations: 1.069 MB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.3415, allocations: 138.8 kB / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.3534, allocations: 9.684 MB / 0.5013 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.3541, allocations: 1.174 MB / 0.5024 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.3547, allocations: 241.4 kB / 0.5027 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.3552, allocations: 339.3 kB / 0.503 GB, free: 12.56 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3552, allocations: 4 kB / 0.503 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/0.5688, allocations: 19.27 MB / 0.5218 GB, free: 86.46 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.5689, allocations: 223 kB / 0.522 GB, free: 86.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.689, allocations: 0 / 0.522 GB, free: 86.21 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)