Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1812/0.1812, allocations: 38.5 MB / 342.5 MB, free: 8.129 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Drives.ASM_Y_D,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003043/0.003043, allocations: 64.09 kB / 478.6 MB, free: 33.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1613, allocations: 61.25 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_Y_D): time 0.01393/0.1753, allocations: 5.761 MB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.1877, allocations: 4.479 MB / 0.5372 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.1885, allocations: 15.94 kB / 0.5372 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01662/0.2051, allocations: 4.916 MB / 0.542 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2074, allocations: 434 kB / 0.5424 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.2086, allocations: 279.5 kB / 0.5427 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004661/0.2133, allocations: 1.719 MB / 0.5444 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.215, allocations: 0.6259 MB / 0.545 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2164, allocations: 482.4 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.2178, allocations: 0.5489 MB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002549/0.2181, allocations: 72 kB / 0.5461 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.2187, allocations: 151.8 kB / 0.5462 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.2193, allocations: 339 kB / 0.5465 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008997/0.2202, allocations: 394.2 kB / 0.5469 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2225, allocations: 1.039 MB / 0.5479 GB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2225, allocations: 0 / 0.5479 GB, free: 12.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2225, allocations: 0 / 0.5479 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.007e-05/0.2226, allocations: 0 / 0.5479 GB, free: 12.11 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004137/0.2267, allocations: 1.047 MB / 0.5489 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.2268, allocations: 11.89 kB / 0.549 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/0.2271, allocations: 106.7 kB / 0.5491 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/0.2278, allocations: 100.4 kB / 0.5492 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.2301, allocations: 0.6311 MB / 0.5498 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.2302, allocations: 82.98 kB / 0.5498 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.2305, allocations: 60 kB / 0.5499 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.2329, allocations: 0.8021 MB / 0.5507 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/0.2329, allocations: 7.953 kB / 0.5507 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.233, allocations: 27.92 kB / 0.5507 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002443/0.2333, allocations: 57.28 kB / 0.5508 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.2351, allocations: 0.5828 MB / 0.5513 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008013/0.2431, allocations: 2.931 MB / 0.5542 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.2445, allocations: 402 kB / 0.5546 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.2451, allocations: 210.3 kB / 0.5548 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.2451, allocations: 12.66 kB / 0.5548 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008688/0.246, allocations: 338.4 kB / 0.5551 GB, free: 4.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 4.098e-06/0.246, allocations: 0 / 0.5551 GB, free: 4.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00625/0.2523, allocations: 2.053 MB / 0.5571 GB, free: 2.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.2524, allocations: 144.5 kB / 0.5573 GB, free: 2.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2534, allocations: 445.9 kB / 0.5577 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/0.2535, allocations: 33.7 kB / 0.5577 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.254, allocations: 344.6 kB / 0.5581 GB, free: 1.211 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.2543, allocations: 166.6 kB / 0.5582 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2546, allocations: 114.3 kB / 0.5583 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.2548, allocations: 362.8 kB / 0.5587 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.2555, allocations: 229.2 kB / 0.5589 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009298/0.2564, allocations: 401.7 kB / 0.5593 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005133/0.2616, allocations: 1.328 MB / 0.5606 GB, free: 14.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.2616, allocations: 3.938 kB / 0.5606 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00311/0.2647, allocations: 0.9516 MB / 0.5615 GB, free: 13.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.588e-05/0.2648, allocations: 37.69 kB / 0.5615 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.2648, allocations: 8 kB / 0.5615 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.2662, allocations: 316.3 kB / 0.5618 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.268, allocations: 179.7 kB / 0.562 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008916/0.2769, allocations: 5.302 MB / 0.5672 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.2774, allocations: 27.94 kB / 0.5672 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.2775, allocations: 24 kB / 0.5672 GB, free: 7.32 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.asm_Y_D.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (system.initime,relay1.cnt,$PRE.relay1.cnt,$whenCondition1,relay1.y,$PRE.relay1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005542/0.278, allocations: 295.3 kB / 0.5675 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.2781, allocations: 55.67 kB / 0.5676 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.2796, allocations: 0.8186 MB / 0.5684 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2796, allocations: 4 kB / 0.5684 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2796, allocations: 0 / 0.5684 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.2796, allocations: 3.984 kB / 0.5684 GB, free: 6.078 MB / 430.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.003067/0.2827, allocations: 1.655 MB / 0.57 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.2827, allocations: 7.938 kB / 0.57 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.2839, allocations: 191.9 kB / 0.5702 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.2842, allocations: 82.41 kB / 0.5703 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.2842, allocations: 11.98 kB / 0.5703 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/0.2884, allocations: 4.261 MB / 0.5744 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2884, allocations: 4.031 kB / 0.5744 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.2903, allocations: 1.12 MB / 0.5755 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.2907, allocations: 180.6 kB / 0.5757 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.2909, allocations: 16 kB / 0.5757 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.2912, allocations: 15.98 kB / 0.5757 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.2913, allocations: 35.88 kB / 0.5758 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.2913, allocations: 20 kB / 0.5758 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.2919, allocations: 323 kB / 0.5761 GB, free: 13.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2919, allocations: 0 / 0.5761 GB, free: 13.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000983/0.2929, allocations: 160 kB / 0.5763 GB, free: 13.35 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asm_Y_D.motor.i[3],asm_Y_D.motor.psi_s[1],asm_Y_D.motor.psi_s[2],asm_Y_D.motor.psi_rd[1],asm_Y_D.motor.psi_rq[1],loadInertia.w,frictTorq.phi) * Number of discrete variables: 4 ($whenCondition1,relay1.y,relay1.cnt,system.initime) * Number of discrete states: 3 (relay1.y,relay1.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002412/0.2953, allocations: 1.683 MB / 0.5779 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2975, allocations: 0.9443 MB / 0.5788 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2975, allocations: 0 / 0.5788 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.2985, allocations: 0.633 MB / 0.5794 GB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.2993, allocations: 130.5 kB / 0.5796 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.311, allocations: 6.157 MB / 0.5856 GB, free: 3.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.312, allocations: 0.9799 MB / 0.5865 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.3124, allocations: 116.7 kB / 0.5866 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.3128, allocations: 223.4 kB / 0.5869 GB, free: 2.043 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3128, allocations: 0 / 0.5869 GB, free: 2.043 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05426/0.367, allocations: 14.31 MB / 0.6008 GB, free: 3.895 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.26, allocations: 0 / 0.6008 GB, free: 3.895 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_Y_D.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_Y_D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.319856483023614] Failed to read output from testmodel.py, exit status != 0: 13.368652867618948 13.579400631 13.354189673 Calling exit ...