Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.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: "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3303/0.3303, allocations: 78.55 MB / 93.78 MB, free: 4.172 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.001032/0.001032, allocations: 106 kB / 113.3 MB, free: 10.04 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.001143/0.001143, allocations: 191.6 kB / 133 MB, free: 6.406 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.237/1.237, allocations: 222.9 MB / 375.4 MB, free: 2.324 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML 1.0.0-main/package.mo): time 0.5706/0.5706, allocations: 62.44 MB / 0.4948 GB, free: 8.328 MB / 366.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 131.8 kB / 0.5747 GB, free: 6.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3778, allocations: 69.5 MB / 0.6426 GB, free: 17.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM): time 0.004418/0.3822, allocations: 4.829 MB / 0.6473 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.384, allocations: 1.399 MB / 0.6487 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.3842, allocations: 5.906 kB / 0.6487 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.3845, allocations: 98.22 kB / 0.6488 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.3849, allocations: 213.8 kB / 0.649 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008364/0.3858, allocations: 0.5682 MB / 0.6496 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.3864, allocations: 1.041 MB / 0.6506 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3867, allocations: 184.8 kB / 0.6508 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.387, allocations: 434.6 kB / 0.6512 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.3875, allocations: 0.5345 MB / 0.6517 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.3876, allocations: 89.31 kB / 0.6518 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.3879, allocations: 155.8 kB / 0.6519 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.388, allocations: 214.6 kB / 0.6521 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.3882, allocations: 431.6 kB / 0.6525 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.3889, allocations: 1.008 MB / 0.6535 GB, free: 9.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3889, allocations: 0 / 0.6535 GB, free: 9.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3889, allocations: 0 / 0.6535 GB, free: 9.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.3889, allocations: 0 / 0.6535 GB, free: 9.598 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003523/0.3924, allocations: 1.426 MB / 0.6549 GB, free: 8.621 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3925, allocations: 9.281 kB / 0.6549 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.576e-05/0.3926, allocations: 97.52 kB / 0.655 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.3935, allocations: 202.4 kB / 0.6552 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.394, allocations: 0.52 MB / 0.6557 GB, free: 7.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.3941, allocations: 78.84 kB / 0.6558 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.3942, allocations: 56.97 kB / 0.6558 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3954, allocations: 0.7577 MB / 0.6566 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.3954, allocations: 9.047 kB / 0.6566 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.3955, allocations: 25.66 kB / 0.6566 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3955, allocations: 13.56 kB / 0.6566 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.397, allocations: 0.8329 MB / 0.6574 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.4007, allocations: 2.871 MB / 0.6602 GB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.4021, allocations: 1.13 MB / 0.6614 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.4027, allocations: 450 kB / 0.6618 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.4028, allocations: 8.656 kB / 0.6618 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4028, allocations: 43.22 kB / 0.6618 GB, free: 2.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=80): time 1.943e-06/0.4029, allocations: 0 / 0.6618 GB, free: 2.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.009709/0.4126, allocations: 3.887 MB / 0.6656 GB, free: 14.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.4126, allocations: 89.77 kB / 0.6657 GB, free: 14.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.4132, allocations: 0.5185 MB / 0.6662 GB, free: 14.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.4132, allocations: 41.7 kB / 0.6663 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.4134, allocations: 308.6 kB / 0.6666 GB, free: 13.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4136, allocations: 279.9 kB / 0.6668 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4139, allocations: 134.5 kB / 0.6669 GB, free: 13.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.414, allocations: 378.8 kB / 0.6673 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.4147, allocations: 361.8 kB / 0.6677 GB, free: 12.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.4155, allocations: 0.4887 MB / 0.6681 GB, free: 12.22 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4169, allocations: 0.8867 MB / 0.669 GB, free: 11.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4169, allocations: 0 / 0.669 GB, free: 11.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004383/0.4213, allocations: 1.719 MB / 0.6707 GB, free: 9.551 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4213, allocations: 8 kB / 0.6707 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.4213, allocations: 11.92 kB / 0.6707 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.4234, allocations: 0.582 MB / 0.6713 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000682/0.4241, allocations: 127.8 kB / 0.6714 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008357/0.4325, allocations: 5.777 MB / 0.677 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.4332, allocations: 47.97 kB / 0.6771 GB, free: 2.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.4333, allocations: 24 kB / 0.6771 GB, free: 2.688 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (74): * Single equations (assignments): 72 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002667/0.4336, allocations: 197.7 kB / 0.6773 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.4337, allocations: 75.2 kB / 0.6774 GB, free: 2.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.4381, allocations: 1.704 MB / 0.679 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4381, allocations: 8 kB / 0.679 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4381, allocations: 4 kB / 0.679 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4382, allocations: 11.98 kB / 0.679 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.4436, allocations: 2.653 MB / 0.6816 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.4436, allocations: 192 / 0.6816 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.4443, allocations: 119.9 kB / 0.6817 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.4462, allocations: 0.548 MB / 0.6823 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.4462, allocations: 19.94 kB / 0.6823 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007221/0.4534, allocations: 5.349 MB / 0.6875 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4535, allocations: 0 / 0.6875 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.4585, allocations: 2.324 MB / 0.6898 GB, free: 5.246 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.4587, allocations: 148.3 kB / 0.6899 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4588, allocations: 16 kB / 0.69 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/0.4595, allocations: 35.97 kB / 0.69 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.4598, allocations: 96.61 kB / 0.6901 GB, free: 4.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.4598, allocations: 23.94 kB / 0.6901 GB, free: 4.914 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000397/0.4602, allocations: 374.8 kB / 0.6905 GB, free: 4.551 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4602, allocations: 0 / 0.6905 GB, free: 4.551 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007331/0.461, allocations: 252 kB / 0.6907 GB, free: 4.305 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,DPIM.Rotor_Inertia.w,DPIM.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 (58): * Single equations (assignments): 56 * 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,18,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005327/0.4663, allocations: 2.878 MB / 0.6935 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.469, allocations: 1.349 MB / 0.6948 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.469, allocations: 0 / 0.6948 GB, free: 24 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.4706, allocations: 0.8778 MB / 0.6957 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.4712, allocations: 78.23 kB / 0.6958 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.4862, allocations: 8.531 MB / 0.7041 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.4867, allocations: 0.9278 MB / 0.705 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.4871, allocations: 77.08 kB / 0.7051 GB, free: 5.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.4875, allocations: 255.3 kB / 0.7053 GB, free: 5.023 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4875, allocations: 0 / 0.7053 GB, free: 5.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.5234, allocations: 17.57 MB / 0.7225 GB, free: 3.723 MB / 0.4982 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.5237, allocations: 279.7 kB / 0.7227 GB, free: 3.34 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.658, allocations: 2.969 kB / 0.7227 GB, free: 3.34 MB / 0.4982 GB (rm -f OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 OpenIMDML_main_OpenIMDML_Examples_MultiDomainExamples_MultiDomainSinglePhaseInductionMotors_MultiDomainDPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.MultiDomainExamples.MultiDomainSinglePhaseInductionMotors.MultiDomainDPIM.pipe 2>&1)