Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo", uses=false) Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/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) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Running command: translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") translateModel(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3956/0.3956, allocations: 78.56 MB / 93.83 MB, free: 4.348 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 90.06 kB / 113.6 MB, free: 10.13 MB / 94.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 177.1 kB / 133.4 MB, free: 6.301 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.2 MB / 376.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.9068/0.9068, allocations: 62.18 MB / 0.4967 GB, free: 5.816 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005967/0.0005968, allocations: 17.28 kB / 0.5776 GB, free: 39.29 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 70.72 MB / 0.6466 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.004703/0.1541, allocations: 4.063 MB / 0.6506 GB, free: 3.113 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.157, allocations: 1.256 MB / 0.6518 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.1573, allocations: 4 kB / 0.6518 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1577, allocations: 103.3 kB / 0.6519 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005391/0.1583, allocations: 202.7 kB / 0.6521 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1594, allocations: 0.4981 MB / 0.6526 GB, free: 1.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008154/0.1602, allocations: 0.8021 MB / 0.6534 GB, free: 248 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1605, allocations: 145.7 kB / 0.6535 GB, free: 104 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.1609, allocations: 298.7 kB / 0.6538 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.1615, allocations: 406.2 kB / 0.6542 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.618e-05/0.1616, allocations: 36 kB / 0.6543 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.1618, allocations: 95.97 kB / 0.6543 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.162, allocations: 135.3 kB / 0.6545 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.1623, allocations: 339.8 kB / 0.6548 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007992/0.1631, allocations: 0.7901 MB / 0.6556 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1631, allocations: 0 / 0.6556 GB, free: 14.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1631, allocations: 4 kB / 0.6556 GB, free: 14.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1631, allocations: 0 / 0.6556 GB, free: 14.01 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003238/0.1664, allocations: 1.128 MB / 0.6567 GB, free: 12.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1664, allocations: 8.031 kB / 0.6567 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/0.1674, allocations: 183.9 kB / 0.6569 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/0.1682, allocations: 497 kB / 0.6573 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1683, allocations: 66.69 kB / 0.6574 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1684, allocations: 47.91 kB / 0.6574 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.1695, allocations: 0.5739 MB / 0.658 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.1696, allocations: 0 / 0.658 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.1696, allocations: 23.94 kB / 0.658 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1697, allocations: 12 kB / 0.658 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1708, allocations: 0.4997 MB / 0.6585 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.1742, allocations: 2.108 MB / 0.6606 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1753, allocations: 0.6421 MB / 0.6612 GB, free: 7.961 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.1758, allocations: 298.9 kB / 0.6615 GB, free: 7.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.227e-05/0.1759, allocations: 16.42 kB / 0.6615 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.176, allocations: 42.94 kB / 0.6616 GB, free: 7.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=51): time 2.354e-06/0.176, allocations: 0 / 0.6616 GB, free: 7.598 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.009756/0.1857, allocations: 3.163 MB / 0.6646 GB, free: 4.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.1858, allocations: 85.55 kB / 0.6647 GB, free: 4.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.1865, allocations: 0.4942 MB / 0.6652 GB, free: 3.742 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.1866, allocations: 33.7 kB / 0.6652 GB, free: 3.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.1868, allocations: 292.2 kB / 0.6655 GB, free: 3.414 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.187, allocations: 185.2 kB / 0.6657 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.181e-05/0.1871, allocations: 53.69 kB / 0.6657 GB, free: 3.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1873, allocations: 370.7 kB / 0.6661 GB, free: 2.801 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.1878, allocations: 249 kB / 0.6663 GB, free: 2.559 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.1884, allocations: 365 kB / 0.6667 GB, free: 2.164 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.1896, allocations: 0.6363 MB / 0.6673 GB, free: 1.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1896, allocations: 0 / 0.6673 GB, free: 1.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.008464/0.1981, allocations: 1.94 MB / 0.6692 GB, free: 15.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.1982, allocations: 9.719 kB / 0.6692 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1982, allocations: 4 kB / 0.6692 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007664/0.2059, allocations: 1.281 MB / 0.6705 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.2064, allocations: 103.9 kB / 0.6706 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.2182, allocations: 5.964 MB / 0.6764 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.219, allocations: 52.12 kB / 0.6764 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.2191, allocations: 27.92 kB / 0.6765 GB, free: 7.832 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.2194, allocations: 180.8 kB / 0.6766 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.2195, allocations: 59.25 kB / 0.6767 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.2242, allocations: 1.53 MB / 0.6782 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.2243, allocations: 4 kB / 0.6782 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2243, allocations: 4 kB / 0.6782 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2243, allocations: 0 / 0.6782 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/0.23, allocations: 2.302 MB / 0.6804 GB, free: 3.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2301, allocations: 4 kB / 0.6804 GB, free: 3.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.2305, allocations: 75.89 kB / 0.6805 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.2334, allocations: 0.6651 MB / 0.6812 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.2335, allocations: 15.98 kB / 0.6812 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007683/0.2412, allocations: 4.546 MB / 0.6856 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2412, allocations: 4.031 kB / 0.6856 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.2466, allocations: 1.999 MB / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.247, allocations: 128.5 kB / 0.6877 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2471, allocations: 15.98 kB / 0.6877 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.2477, allocations: 39.97 kB / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.2479, allocations: 68.28 kB / 0.6878 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.248, allocations: 23.92 kB / 0.6878 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005239/0.2485, allocations: 354.9 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.2485, allocations: 0 / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001005/0.2495, allocations: 195.9 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Inf.delta,Inf.eq,SPIM.Rotor_Inertia.w,SPIM.speed.phi,Inf.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * 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 {(1,4,100.0%), (4,10,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.2498, allocations: 115.2 kB / 0.6885 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.2523, allocations: 0.9509 MB / 0.6894 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.2523, allocations: 4.312 kB / 0.6894 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.2538, allocations: 0.7261 MB / 0.6901 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.2546, allocations: 61.95 kB / 0.6902 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.2571, allocations: 1.611 MB / 0.6917 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.2576, allocations: 0.8836 MB / 0.6926 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.2578, allocations: 52.36 kB / 0.6927 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.258, allocations: 43.42 kB / 0.6927 GB, free: 6.664 MB / 494.1 MB Notification: Performance of SimCode: time 1.954e-06/0.258, allocations: 0 / 0.6927 GB, free: 6.664 MB / 494.1 MB Notification: Performance of Templates: time 0.02057/0.2786, allocations: 11.3 MB / 0.7037 GB, free: 11.41 MB / 0.4982 GB make -j1 -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.makefile (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.sim & ./OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM.pipe 2>&1)