Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.0009071/0.0009072, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0009543/0.0009544, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.491/1.491, allocations: 205.4 MB / 223.4 MB, free: 5.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3168/0.3168, allocations: 38.04 MB / 309.7 MB, free: 8.793 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.0005136/0.0005136, allocations: 12 kB / 376.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 56.34 MB / 432.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004715/0.1113, allocations: 4.41 MB / 437.3 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1139, allocations: 1.704 MB / 439 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.1141, allocations: 27.88 kB / 439.1 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.1143, allocations: 71.5 kB / 439.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.1149, allocations: 243.2 kB / 439.4 MB, free: 284 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.1154, allocations: 235.4 kB / 439.6 MB, free: 48 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.1158, allocations: 319.9 kB / 439.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.1165, allocations: 450.7 kB / 440.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1168, allocations: 187.3 kB / 440.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.1171, allocations: 227.3 kB / 440.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.1172, allocations: 16 kB / 440.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.1174, allocations: 87.8 kB / 440.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1176, allocations: 187.5 kB / 441 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.1177, allocations: 109.5 kB / 441.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1181, allocations: 450.9 kB / 441.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1181, allocations: 0 / 441.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1181, allocations: 0 / 441.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1181, allocations: 4 kB / 441.6 MB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001093/0.1192, allocations: 0.6801 MB / 442.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1193, allocations: 12.03 kB / 442.3 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.748e-05/0.1194, allocations: 86.45 kB / 442.4 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006078/0.12, allocations: 99.28 kB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.1206, allocations: 395 kB / 442.9 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1207, allocations: 29 kB / 442.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1208, allocations: 43.98 kB / 442.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.1216, allocations: 0.6599 MB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1216, allocations: 3.938 kB / 443.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.1217, allocations: 20 kB / 443.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.1218, allocations: 48.97 kB / 443.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.1226, allocations: 487.5 kB / 444.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.1256, allocations: 3.152 MB / 447.3 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.126, allocations: 245.8 kB / 447.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1261, allocations: 8.172 kB / 447.5 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1261, allocations: 42.8 kB / 447.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1261, allocations: 0 / 447.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001367/0.1275, allocations: 0.8878 MB / 448.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1276, allocations: 81.11 kB / 448.5 MB, free: 6.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1279, allocations: 336.5 kB / 448.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1279, allocations: 25.7 kB / 448.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1281, allocations: 287.1 kB / 449.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.1282, allocations: 90.75 kB / 449.3 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.1282, allocations: 8 kB / 449.3 MB, free: 5.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1283, allocations: 350.8 kB / 449.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1285, allocations: 124.8 kB / 449.7 MB, free: 5.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.1288, allocations: 329.1 kB / 450.1 MB, free: 4.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1291, allocations: 187.9 kB / 450.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1291, allocations: 4 kB / 450.2 MB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000967/0.1301, allocations: 0.584 MB / 450.8 MB, free: 4.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1301, allocations: 8.75 kB / 450.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005597/0.1307, allocations: 337.3 kB / 451.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004053/0.1311, allocations: 113.6 kB / 451.3 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1314, allocations: 87.83 kB / 451.4 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1338, allocations: 3.072 MB / 454.4 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.1341, allocations: 16 kB / 454.5 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.1342, allocations: 23.98 kB / 454.5 MB, free: 272 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.1344, allocations: 217.7 kB / 454.7 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.1345, allocations: 31.62 kB / 454.7 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1847/0.3192, allocations: 315 kB / 455 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3192, allocations: 5.75 kB / 455 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3192, allocations: 0 / 455 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3192, allocations: 4.609 kB / 455 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.3204, allocations: 0.8082 MB / 455.8 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3204, allocations: 6.406 kB / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.3207, allocations: 61.16 kB / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3207, allocations: 0 / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3207, allocations: 6.438 kB / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3207, allocations: 6.359 kB / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3208, allocations: 7.469 kB / 455.9 MB, free: 50.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.3213, allocations: 0.5301 MB / 456.5 MB, free: 50.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3214, allocations: 135.3 kB / 456.6 MB, free: 50.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3215, allocations: 6.312 kB / 456.6 MB, free: 50.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3216, allocations: 10 kB / 456.6 MB, free: 50.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3217, allocations: 20.81 kB / 456.6 MB, free: 50.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3217, allocations: 9.312 kB / 456.6 MB, free: 50.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3219, allocations: 227.1 kB / 456.9 MB, free: 50.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3219, allocations: 0 / 456.9 MB, free: 50.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.3224, allocations: 101.2 kB / 457 MB, free: 50.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0006582/0.323, allocations: 1.278 MB / 458.2 MB, free: 49.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3238, allocations: 0.5798 MB / 458.8 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.3238, allocations: 0 / 458.8 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3239, allocations: 129 kB / 458.9 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3244, allocations: 59.39 kB / 459 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003486/0.3279, allocations: 6.921 MB / 465.9 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3282, allocations: 0.8804 MB / 466.8 MB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.3285, allocations: 111.8 kB / 466.9 MB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.3286, allocations: 147.6 kB / 467.1 MB, free: 43.31 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3286, allocations: 0 / 467.1 MB, free: 43.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3465, allocations: 7.193 MB / 474.2 MB, free: 42.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/0.3467, allocations: 200.5 kB / 474.4 MB, free: 42.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.064, allocations: 0 / 474.4 MB, free: 42.47 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) Environment - environmentSimulation: