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.4109/0.4109, allocations: 78.54 MB / 93.66 MB, free: 4.211 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.00134/0.00134, allocations: 101.3 kB / 113.2 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.001718/0.001717, allocations: 196.5 kB / 132.9 MB, free: 6.473 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.516/1.516, allocations: 222.9 MB / 375.2 MB, free: 2.273 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.7472/0.7472, allocations: 62.42 MB / 0.4947 GB, free: 8.363 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.002192/0.002192, allocations: 131.8 kB / 0.5744 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5773, allocations: 69.49 MB / 0.6423 GB, free: 18.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainSPIM): time 0.00584/0.5832, allocations: 4.476 MB / 0.6467 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.5863, allocations: 1.257 MB / 0.6479 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004819/0.5869, allocations: 13.69 kB / 0.6479 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.5873, allocations: 94.48 kB / 0.648 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005759/0.5879, allocations: 211.4 kB / 0.6482 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.589, allocations: 0.4933 MB / 0.6487 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008797/0.5899, allocations: 0.8025 MB / 0.6495 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.5902, allocations: 148 kB / 0.6496 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004226/0.5907, allocations: 322.4 kB / 0.6499 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.5912, allocations: 415.8 kB / 0.6503 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.544e-05/0.5913, allocations: 40.91 kB / 0.6504 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002956/0.5916, allocations: 95.86 kB / 0.6504 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.5918, allocations: 143.4 kB / 0.6506 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.5921, allocations: 332.2 kB / 0.6509 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.5928, allocations: 0.8038 MB / 0.6517 GB, free: 10.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5928, allocations: 4 kB / 0.6517 GB, free: 10.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5928, allocations: 1.375 kB / 0.6517 GB, free: 10.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.5928, allocations: 0 / 0.6517 GB, free: 10.84 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.003443/0.5963, allocations: 1.214 MB / 0.6529 GB, free: 9.961 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5963, allocations: 9.188 kB / 0.6529 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5974, allocations: 185.1 kB / 0.6531 GB, free: 9.883 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.5981, allocations: 0.4883 MB / 0.6535 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.5982, allocations: 64.27 kB / 0.6536 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.5983, allocations: 44.91 kB / 0.6536 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5994, allocations: 0.5552 MB / 0.6542 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.5994, allocations: 1.156 kB / 0.6542 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.5995, allocations: 20 kB / 0.6542 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.5995, allocations: 11.16 kB / 0.6542 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.6006, allocations: 488.6 kB / 0.6547 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.6039, allocations: 2.103 MB / 0.6567 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.6049, allocations: 0.6269 MB / 0.6573 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.6055, allocations: 283.1 kB / 0.6576 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.6056, allocations: 9.984 kB / 0.6576 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.6056, allocations: 42.09 kB / 0.6577 GB, free: 6.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.936e-06/0.6056, allocations: 0 / 0.6577 GB, free: 6.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.008864/0.6145, allocations: 2.852 MB / 0.6604 GB, free: 4.027 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.6146, allocations: 85.55 kB / 0.6605 GB, free: 3.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.6151, allocations: 498.1 kB / 0.661 GB, free: 3.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.6152, allocations: 41.7 kB / 0.661 GB, free: 3.379 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.6153, allocations: 284.1 kB / 0.6613 GB, free: 3.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.6155, allocations: 185.3 kB / 0.6615 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.6157, allocations: 90.25 kB / 0.6616 GB, free: 2.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6158, allocations: 370.7 kB / 0.6619 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.6163, allocations: 237 kB / 0.6622 GB, free: 2.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.6167, allocations: 337.1 kB / 0.6625 GB, free: 1.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/0.6177, allocations: 0.5973 MB / 0.6631 GB, free: 1.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6177, allocations: 0 / 0.6631 GB, free: 1.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007808/0.6255, allocations: 1.736 MB / 0.6648 GB, free: 15.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.6256, allocations: 16.16 kB / 0.6648 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6256, allocations: 0 / 0.6648 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007305/0.6329, allocations: 1.179 MB / 0.6659 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005753/0.6335, allocations: 99.81 kB / 0.666 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.6453, allocations: 5.766 MB / 0.6717 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.6462, allocations: 40.06 kB / 0.6717 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.6463, allocations: 20 kB / 0.6717 GB, free: 8.078 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.0004268/0.6468, allocations: 177.7 kB / 0.6719 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6471, allocations: 55.34 kB / 0.6719 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/0.6516, allocations: 1.327 MB / 0.6732 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.6516, allocations: 4 kB / 0.6732 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.6516, allocations: 7.938 kB / 0.6732 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.6516, allocations: 3.984 kB / 0.6732 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.6574, allocations: 2.114 MB / 0.6753 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6574, allocations: 3.984 kB / 0.6753 GB, free: 4.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.6579, allocations: 83.89 kB / 0.6754 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.6605, allocations: 0.5831 MB / 0.676 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.6605, allocations: 12 kB / 0.676 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00687/0.6674, allocations: 4.376 MB / 0.6802 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6675, allocations: 4.062 kB / 0.6802 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/0.6727, allocations: 1.792 MB / 0.682 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.673, allocations: 136.4 kB / 0.6821 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6732, allocations: 11.94 kB / 0.6821 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/0.6738, allocations: 31.97 kB / 0.6822 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.6741, allocations: 68.27 kB / 0.6822 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.6741, allocations: 12 kB / 0.6822 GB, free: 12.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005016/0.6747, allocations: 362.9 kB / 0.6826 GB, free: 12.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6747, allocations: 0 / 0.6826 GB, free: 12.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001007/0.6757, allocations: 192 kB / 0.6828 GB, free: 12.31 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.0002181/0.6759, allocations: 115.1 kB / 0.6829 GB, free: 12.19 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.6783, allocations: 0.8884 MB / 0.6838 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6783, allocations: 0 / 0.6838 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.6798, allocations: 0.6718 MB / 0.6844 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000808/0.6807, allocations: 70.88 kB / 0.6845 GB, free: 10.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.6835, allocations: 1.508 MB / 0.6859 GB, free: 8.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.6841, allocations: 0.8836 MB / 0.6868 GB, free: 8.074 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.6844, allocations: 60.28 kB / 0.6869 GB, free: 8.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6845, allocations: 39.44 kB / 0.6869 GB, free: 7.977 MB / 478.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6845, allocations: 0 / 0.6869 GB, free: 7.977 MB / 478.1 MB Notification: Performance of Templates: time 0.02117/0.7057, allocations: 11.48 MB / 0.6981 GB, free: 12.54 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)