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.4537/0.4537, allocations: 78.55 MB / 94.33 MB, free: 4.184 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.001105/0.001105, allocations: 97.5 kB / 113.9 MB, free: 10.11 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.001205/0.001205, allocations: 193.7 kB / 133.5 MB, free: 6.465 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.432/1.432, allocations: 222.9 MB / 375.9 MB, free: 2.262 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.6452/0.6452, allocations: 62.44 MB / 0.4953 GB, free: 8.355 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.002204/0.002204, allocations: 123.8 kB / 0.5751 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4688, allocations: 69.5 MB / 0.643 GB, free: 18.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.005348/0.4742, allocations: 4.468 MB / 0.6473 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.4767, allocations: 1.261 MB / 0.6486 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.4775, allocations: 9.719 kB / 0.6486 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.478, allocations: 102.7 kB / 0.6487 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007785/0.4788, allocations: 203.2 kB / 0.6489 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.48, allocations: 0.506 MB / 0.6493 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009461/0.4809, allocations: 0.8019 MB / 0.6501 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.4812, allocations: 143 kB / 0.6503 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.4815, allocations: 319.8 kB / 0.6506 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004348/0.482, allocations: 423 kB / 0.651 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.4821, allocations: 40.41 kB / 0.651 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.4823, allocations: 92.27 kB / 0.6511 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.4824, allocations: 144 kB / 0.6512 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.4827, allocations: 332.8 kB / 0.6516 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.4831, allocations: 0.6241 MB / 0.6522 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4831, allocations: 0 / 0.6522 GB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4832, allocations: 0 / 0.6522 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.4832, allocations: 0 / 0.6522 GB, free: 10.96 MB / 446.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.003192/0.4864, allocations: 1.214 MB / 0.6534 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4864, allocations: 14.34 kB / 0.6534 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.4874, allocations: 188.5 kB / 0.6535 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.488, allocations: 483.5 kB / 0.654 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.4881, allocations: 65.33 kB / 0.6541 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.4882, allocations: 52.31 kB / 0.6541 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/0.4892, allocations: 0.5511 MB / 0.6547 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4892, allocations: 1.5 kB / 0.6547 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.4893, allocations: 15.5 kB / 0.6547 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.4893, allocations: 14.38 kB / 0.6547 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.4903, allocations: 493.6 kB / 0.6552 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.4934, allocations: 2.095 MB / 0.6572 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.4944, allocations: 0.6354 MB / 0.6578 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.4949, allocations: 282.7 kB / 0.6581 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.495, allocations: 14.42 kB / 0.6581 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.495, allocations: 41.56 kB / 0.6581 GB, free: 6.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.264e-06/0.495, allocations: 1.312 kB / 0.6581 GB, free: 6.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008609/0.5036, allocations: 2.85 MB / 0.6609 GB, free: 4.203 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.5037, allocations: 81.55 kB / 0.661 GB, free: 4.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.5042, allocations: 498.1 kB / 0.6615 GB, free: 3.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.5043, allocations: 33.7 kB / 0.6615 GB, free: 3.566 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5044, allocations: 292.1 kB / 0.6618 GB, free: 3.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.5045, allocations: 181.3 kB / 0.662 GB, free: 3.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.5047, allocations: 86.25 kB / 0.6621 GB, free: 3.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.5048, allocations: 378.7 kB / 0.6624 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.5052, allocations: 233 kB / 0.6626 GB, free: 2.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.5057, allocations: 349 kB / 0.663 GB, free: 2.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.5066, allocations: 0.5934 MB / 0.6635 GB, free: 1.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5067, allocations: 4 kB / 0.6636 GB, free: 1.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007865/0.5145, allocations: 1.736 MB / 0.6652 GB, free: 15.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.5146, allocations: 9.406 kB / 0.6653 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5146, allocations: 7.984 kB / 0.6653 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007799/0.5224, allocations: 1.18 MB / 0.6664 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.523, allocations: 95.88 kB / 0.6665 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.5348, allocations: 5.764 MB / 0.6721 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/0.5356, allocations: 27.98 kB / 0.6722 GB, free: 8.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.5357, allocations: 23.98 kB / 0.6722 GB, free: 8.266 MB / 462.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.0002916/0.536, allocations: 185.7 kB / 0.6724 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5361, allocations: 59.34 kB / 0.6724 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/0.5406, allocations: 1.331 MB / 0.6737 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.5406, allocations: 4 kB / 0.6737 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5406, allocations: 4 kB / 0.6737 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5406, allocations: 3.984 kB / 0.6737 GB, free: 6.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005381/0.546, allocations: 2.114 MB / 0.6758 GB, free: 4.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.546, allocations: 4 kB / 0.6758 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004557/0.5465, allocations: 75.88 kB / 0.6759 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0026/0.5491, allocations: 0.5948 MB / 0.6765 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/0.5492, allocations: 16 kB / 0.6765 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.5558, allocations: 4.368 MB / 0.6807 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5558, allocations: 0 / 0.6807 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.5613, allocations: 1.78 MB / 0.6825 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.5615, allocations: 140.4 kB / 0.6826 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.5616, allocations: 8.312 kB / 0.6826 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.5622, allocations: 39.97 kB / 0.6827 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/0.5624, allocations: 68.27 kB / 0.6827 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.5625, allocations: 16 kB / 0.6827 GB, free: 13.03 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.5629, allocations: 354.9 kB / 0.6831 GB, free: 12.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5629, allocations: 0 / 0.6831 GB, free: 12.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008009/0.5637, allocations: 192 kB / 0.6833 GB, free: 12.5 MB / 478.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.000189/0.5639, allocations: 119.1 kB / 0.6834 GB, free: 12.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.5662, allocations: 0.8884 MB / 0.6842 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5662, allocations: 0 / 0.6842 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.5676, allocations: 0.6873 MB / 0.6849 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.5683, allocations: 65.23 kB / 0.685 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.5708, allocations: 1.53 MB / 0.6865 GB, free: 9.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.5713, allocations: 0.8836 MB / 0.6873 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.5714, allocations: 43.42 kB / 0.6874 GB, free: 8.172 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5715, allocations: 4 kB / 0.6874 GB, free: 8.168 MB / 478.1 MB Notification: Performance of Templates: time 0.01509/0.5865, allocations: 12.38 MB / 0.6995 GB, free: 11.78 MB / 494.1 MB 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)